fs: export rw_verify_area()
authorOmar Sandoval <osandov@fb.com>
Wed, 4 Sep 2019 19:13:25 +0000 (12:13 -0700)
committerDavid Sterba <dsterba@suse.com>
Tue, 15 Feb 2022 15:54:49 +0000 (16:54 +0100)
commit1ebb563f604738ddb8b4b3640232670f16e2d7d1
treef4c63652763304c7f2dbeedba8b04618efab5199
parente6c69fcbee7ef1d7bde4ff78eb1377dbe09d71cf
fs: export rw_verify_area()

I'm adding btrfs ioctls to read and write compressed data, and rather
than duplicating the checks in rw_verify_area(), let's just export it.

Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Omar Sandoval <osandov@fb.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/internal.h
fs/read_write.c
include/linux/fs.h