# Re: \[PATCH v11 01/14\] fs: export rw\_verify\_area()

- From: Omar Sandoval \<osandov@osandov.com\>
- Date: 2021-11-18 19:19:42 
- List: linux-api
- Page: https://ratatoskr.run/linux-api/2021/11/218339
- Thread: https://ratatoskr.run/linux-btrfs/2021/09/213534/t.md

```text
On Wed, Sep 01, 2021 at 10:00:56AM -0700, Omar Sandoval wrote:
> From: Omar Sandoval <redacted>
> 
> 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 <redacted>
> ---
>  fs/internal.h      | 5 -----
>  fs/read_write.c    | 1 +
>  include/linux/fs.h | 1 +
>  3 files changed, 2 insertions(+), 5 deletions(-)

Could I please get an ack from the VFS side on this patch and "fs:
export variant of generic_write_checks without iov_iter"? We're going
the route of doing this as a Btrfs ioctl since we couldn't agree on a
generic interface, so this is all I need from the VFS.
```
