summaryrefslogtreecommitdiffstats
path: root/Documentation/filesystems/vfs.txt
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-07-03 16:19:23 +0400
committerAl Viro <viro@zeniv.linux.org.uk>2013-07-03 16:23:29 +0400
commit48bde8d3620f5f3c6ae9ff599eb404055ae51664 (patch)
tree7b59e511bcb0258bccafe3224db41a312b4fc2f0 /Documentation/filesystems/vfs.txt
parentaf51a2ac36d1f96bee30438ec95a51e4635d1e33 (diff)
downloadop-kernel-dev-48bde8d3620f5f3c6ae9ff599eb404055ae51664.zip
op-kernel-dev-48bde8d3620f5f3c6ae9ff599eb404055ae51664.tar.gz
Document ->tmpfile()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'Documentation/filesystems/vfs.txt')
-rw-r--r--Documentation/filesystems/vfs.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/filesystems/vfs.txt b/Documentation/filesystems/vfs.txt
index 51ba44e..aeff462 100644
--- a/Documentation/filesystems/vfs.txt
+++ b/Documentation/filesystems/vfs.txt
@@ -360,6 +360,8 @@ struct inode_operations {
int (*removexattr) (struct dentry *, const char *);
void (*update_time)(struct inode *, struct timespec *, int);
int (*atomic_open)(struct inode *, struct dentry *,
+ int (*tmpfile) (struct inode *, struct dentry *, umode_t);
+} ____cacheline_aligned;
struct file *, unsigned open_flag,
umode_t create_mode, int *opened);
};
@@ -472,6 +474,9 @@ otherwise noted.
component is negative or needs lookup. Cached positive dentries are
still handled by f_op->open().
+ tmpfile: called in the end of O_TMPFILE open(). Optional, equivalent to
+ atomically creating, opening and unlinking a file in given directory.
+
The Address Space Object
========================
OpenPOWER on IntegriCloud