]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc44e2419a6fcfce211870707022663d506f774cc
treeb684145f2cfd170d35d7b154559f6810d44acbe6
parent937fd3505175453f2d2d3b2e6179f94afef45cb7
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