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, 28 Feb 2022 15:20:02 +0000 (16:20 +0100)
commit9af2d06d6d4db38c9c0b251f9279f41ecc0de2fe
treed6f52a2ed0281787e247a1e2237a3bfd017364a9
parent7cecf5e3a8664800bfd3ad9f53489f419ab88dfd
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