commit | 3ec17a67cc340b7b0353d7ac6d2746dcf8983b43 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Thu Oct 31 13:55:01 2019 +0300 |
committer | David Sterba <dsterba@suse.com> | Mon Nov 18 17:51:47 2019 +0100 |
tree | 8fa3661fdc9687e1965e311e16c3b48ab464d64f | |
parent | 6ef108dd0cda65d3031166222e64cdf71fdd3359 [diff] |
btrfs: clean up locking name in scrub_enumerate_chunks() The "&fs_info->dev_replace.rwsem" and "&dev_replace->rwsem" refer to the same lock but Smatch is not clever enough to figure that out so it leads to static checker warnings. It's better to use it consistently anyway. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>