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>
This commit is contained in:
committed by
David Sterba
parent
457b0a3d6e
commit
871129332d
@@ -157,11 +157,6 @@ extern char *simple_dname(struct dentry *, char *, int);
|
||||
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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user