summaryrefslogtreecommitdiff
path: root/Documentation/filesystems/Locking
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/Locking
parentaf51a2ac36d1f96bee30438ec95a51e4635d1e33 (diff)
downloadlinux-48bde8d3620f5f3c6ae9ff599eb404055ae51664.tar.xz
Document ->tmpfile()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'Documentation/filesystems/Locking')
-rw-r--r--Documentation/filesystems/Locking2
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/filesystems/Locking b/Documentation/filesystems/Locking
index 7d9ca7a83fcc..e95d3131309e 100644
--- a/Documentation/filesystems/Locking
+++ b/Documentation/filesystems/Locking
@@ -64,6 +64,7 @@ prototypes:
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);
locking rules:
all may block
@@ -91,6 +92,7 @@ removexattr: yes
fiemap: no
update_time: no
atomic_open: yes
+tmpfile: no
Additionally, ->rmdir(), ->unlink() and ->rename() have ->i_mutex on
victim.