diff options
author | Josef Bacik <josef@toxicpanda.com> | 2022-02-18 09:38:13 -0500 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2022-03-14 13:13:52 +0100 |
commit | ae460f058e9ff31946cc393bf897fc44483f0876 (patch) | |
tree | 28745636eab4fe82ae4307289a124d027ce3aa8a /fs/btrfs/struct-funcs.c | |
parent | 7eefae6bb1ddeba1df02acd5c6bb6b7c8e0f34d1 (diff) | |
download | lwn-ae460f058e9ff31946cc393bf897fc44483f0876.tar.gz lwn-ae460f058e9ff31946cc393bf897fc44483f0876.zip |
btrfs: remove the cross file system checks from remap
The sb check is already done in do_clone_file_range, and the mnt check
(which will hopefully go away in a subsequent patch) is done in
ioctl_file_clone(). Remove the check in our code and put an ASSERT() to
make sure it doesn't change underneath us.
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/struct-funcs.c')
0 files changed, 0 insertions, 0 deletions