summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/btrfs_inode.h
diff options
context:
space:
mode:
authorGoldwyn Rodrigues <rgoldwyn@suse.com>2019-02-25 20:07:44 +0100
committerDavid Sterba <dsterba@suse.com>2019-04-29 19:02:29 +0200
commit7984ae52bbf75def1d7fcbf4c902e8f787e1ef9d (patch)
tree45d7ce0837feaf9e8d855e2dda3b3868ffe1856d /fs/btrfs/btrfs_inode.h
parentbtrfs: use BUG() instead of BUG_ON(1) (diff)
downloadlinux-7984ae52bbf75def1d7fcbf4c902e8f787e1ef9d.tar.xz
linux-7984ae52bbf75def1d7fcbf4c902e8f787e1ef9d.zip
btrfs: Perform locking/unlocking in btrfs_remap_file_range()
Move code to make it more readable, so as locking and unlocking is done in the same function. The generic checks that are now performed in the locked section are unaffected. 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/btrfs_inode.h')
0 files changed, 0 insertions, 0 deletions