aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-06-07 01:20:27 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2013-06-29 12:57:10 +0400
commit60545d0d4610b02e55f65d141c95b18ccf855b6e (patch)
tree252111eed41e5f54a7bd13b054420f750cb5e069 /include/linux
parentf9652e10c12b43d9bb957269745cf2fa5682fa92 (diff)
downloadkernel_goldelico_gta04-60545d0d4610b02e55f65d141c95b18ccf855b6e.zip
kernel_goldelico_gta04-60545d0d4610b02e55f65d141c95b18ccf855b6e.tar.gz
kernel_goldelico_gta04-60545d0d4610b02e55f65d141c95b18ccf855b6e.tar.bz2
[O_TMPFILE] it's still short a few helpers, but infrastructure should be OK now...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/dcache.h2
-rw-r--r--include/linux/fs.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/dcache.h b/include/linux/dcache.h
index 1a6bb81..86da759 100644
--- a/include/linux/dcache.h
+++ b/include/linux/dcache.h
@@ -246,6 +246,8 @@ extern struct dentry * d_make_root(struct inode *);
/* <clickety>-<click> the ramfs-type tree */
extern void d_genocide(struct dentry *);
+extern void d_tmpfile(struct dentry *, struct inode *);
+
extern struct dentry *d_find_alias(struct inode *);
extern void d_prune_aliases(struct inode *);
diff --git a/include/linux/fs.h b/include/linux/fs.h
index 7c30e3a..dd6615f 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -1580,6 +1580,7 @@ struct inode_operations {
int (*atomic_open)(struct inode *, struct dentry *,
struct file *, unsigned open_flag,
umode_t create_mode, int *opened);
+ int (*tmpfile) (struct inode *, struct dentry *, umode_t);
} ____cacheline_aligned;
ssize_t rw_copy_check_uvector(int type, const struct iovec __user * uvector,