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>
Mon, 14 Mar 2022 12:13:50 +0000 (13:13 +0100)
commit871129332d74c9e94bd110932ac4445833995639
treeb684145f2cfd170d35d7b154559f6810d44acbe6
parent457b0a3d6e266f40a367205e224b971e4da7f5f8
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