summaryrefslogtreecommitdiffstats
path: root/fs/gfs2
diff options
context:
space:
mode:
authorNikolay Borisov <nborisov@suse.com>2019-05-14 12:54:42 +0200
committerDavid Sterba <dsterba@suse.com>2019-07-01 13:34:54 +0200
commitfa19452a4039539a5846198b9aecb8be51ce61ca (patch)
treed29c33dc65b5d1507b8fe34e73b2963e33c45e2f /fs/gfs2
parentbtrfs: Ensure btrfs_init_dev_replace_tgtdev sees up to date values (diff)
downloadlinux-fa19452a4039539a5846198b9aecb8be51ce61ca.tar.xz
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 'fs/gfs2')
0 files changed, 0 insertions, 0 deletions