diff options
author | Omar Sandoval <osandov@fb.com> | 2019-09-04 21:13:25 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2022-03-14 13:13:50 +0100 |
commit | 871129332d74c9e94bd110932ac4445833995639 (patch) | |
tree | b684145f2cfd170d35d7b154559f6810d44acbe6 /fs/internal.h | |
parent | btrfs: qgroup: remove outdated TODO comments (diff) | |
download | linux-871129332d74c9e94bd110932ac4445833995639.tar.xz linux-871129332d74c9e94bd110932ac4445833995639.zip |
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>
Diffstat (limited to 'fs/internal.h')
-rw-r--r-- | fs/internal.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/internal.h b/fs/internal.h index 8590c973c2f4..711bdc00ec7c 100644 --- a/fs/internal.h +++ b/fs/internal.h @@ -158,11 +158,6 @@ extern void dput_to_list(struct dentry *, struct list_head *); extern void shrink_dentry_list(struct list_head *); /* - * read_write.c - */ -extern int rw_verify_area(int, struct file *, const loff_t *, size_t); - -/* * pipe.c */ extern const struct file_operations pipefifo_fops; |