diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2013-10-02 22:35:11 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-11-09 00:16:27 -0500 |
commit | 6987843ff7e836ea65b554905aec34d2fad05c94 (patch) | |
tree | b6a66c9d11b96ee6d03eef374e016ed855b25738 /include/linux/fs.h | |
parent | 22a8cb8248ba5d340307ba72432253b1dbdb5cf7 (diff) | |
download | lwn-6987843ff7e836ea65b554905aec34d2fad05c94.tar.gz lwn-6987843ff7e836ea65b554905aec34d2fad05c94.zip |
take anon inode allocation to libfs.c
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/fs.h')
-rw-r--r-- | include/linux/fs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index 2b0f4e974480..e190326ac212 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -2562,6 +2562,7 @@ extern int simple_write_begin(struct file *file, struct address_space *mapping, extern int simple_write_end(struct file *file, struct address_space *mapping, loff_t pos, unsigned len, unsigned copied, struct page *page, void *fsdata); +extern struct inode *alloc_anon_inode(struct super_block *); extern struct dentry *simple_lookup(struct inode *, struct dentry *, unsigned int flags); extern ssize_t generic_read_dir(struct file *, char __user *, size_t, loff_t *); |