Document ->tmpfile()

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Este commit está contenido en:
Al Viro
2013-07-03 16:19:23 +04:00
padre af51a2ac36
commit 48bde8d362
Se han modificado 2 ficheros con 7 adiciones y 0 borrados

Ver fichero

@@ -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
========================