diff options
author | Goldwyn Rodrigues <rgoldwyn@suse.com> | 2017-10-16 13:43:21 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2017-10-30 14:28:01 +0300 |
commit | 79f015f216539dfdf0d3ef0b3bbb9dc7754364cd (patch) | |
tree | 4aae4ca874dbb7a4f485ff80d2539b169e8e9a60 /fs/btrfs/volumes.c | |
parent | 2dbe0c77186c691386b74391039899808a4d3f59 (diff) | |
download | linux-79f015f216539dfdf0d3ef0b3bbb9dc7754364cd.tar.xz |
btrfs: cleanup extent locking sequence
Code cleanup for better understanding:
Variable needs_unlock to be called extent_locked to show state as
opposed to action. Changed the type to int, to reduce code in the
critical path.
Signed-off-by: Goldwyn Rodrigues <rgoldwyn@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/volumes.c')
0 files changed, 0 insertions, 0 deletions