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

- From: Omar Sandoval \<osandov@osandov.com\>
- Date: 2022-01-04 19:06:41 
- List: linux-api
- Page: https://ratatoskr.run/linux-api/2022/01/220792
- Thread: https://ratatoskr.run/linux-btrfs/2021/09/213534/t.md

```text
On Thu, Nov 18, 2021 at 11:19:39AM -0800, Omar Sandoval wrote:
> 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.

Ping.
```
