diff options
author | Nikolay Borisov <nborisov@suse.com> | 2019-05-14 13:54:42 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2019-07-01 13:34:54 +0200 |
commit | fa19452a4039539a5846198b9aecb8be51ce61ca (patch) | |
tree | d29c33dc65b5d1507b8fe34e73b2963e33c45e2f /block/Makefile | |
parent | e1e0eb43ce1fd7bbdd9590715623cb3799896434 (diff) | |
download | linux-fa19452a4039539a5846198b9aecb8be51ce61ca.tar.gz linux-fa19452a4039539a5846198b9aecb8be51ce61ca.tar.bz2 linux-fa19452a4039539a5846198b9aecb8be51ce61ca.zip |
btrfs: Streamline replace sem unlock in btrfs_dev_replace_start
There are only 2 branches which goto leave label with need_unlock set
to true. Essentially need_unlock is used as a substitute for directly
calling up_write. Since the branches needing this are only 2 and their
context is not that big it's more clear to just call up_write where
required. No functional changes.
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'block/Makefile')
0 files changed, 0 insertions, 0 deletions