summaryrefslogtreecommitdiff
path: root/include/linux/fs.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-10-02 22:35:11 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2013-11-09 00:16:27 -0500
commit6987843ff7e836ea65b554905aec34d2fad05c94 (patch)
treeb6a66c9d11b96ee6d03eef374e016ed855b25738 /include/linux/fs.h
parent22a8cb8248ba5d340307ba72432253b1dbdb5cf7 (diff)
downloadlwn-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.h1
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 *);