diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2019-10-31 13:55:01 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2019-11-18 17:51:47 +0100 |
commit | 3ec17a67cc340b7b0353d7ac6d2746dcf8983b43 (patch) | |
tree | 8fa3661fdc9687e1965e311e16c3b48ab464d64f /fs/btrfs/extent_map.c | |
parent | 6ef108dd0cda65d3031166222e64cdf71fdd3359 (diff) | |
download | linux-3ec17a67cc340b7b0353d7ac6d2746dcf8983b43.tar.gz linux-3ec17a67cc340b7b0353d7ac6d2746dcf8983b43.tar.bz2 linux-3ec17a67cc340b7b0353d7ac6d2746dcf8983b43.zip |
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>
Diffstat (limited to 'fs/btrfs/extent_map.c')
0 files changed, 0 insertions, 0 deletions