diff options
author | Miklos Szeredi <mszeredi@redhat.com> | 2016-06-28 05:47:32 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2016-07-24 16:36:29 -0400 |
commit | 285b102d3b745f3c2c110c9c327741d87e64aacc (patch) | |
tree | c0d13e12f96b7730a1db2633f8e3743fbc267ade /Documentation/filesystems/Locking | |
parent | 17648b871d3cecf310f55ce8c6ce5821d135f6ec (diff) |
vfs: new d_init method
Allow filesystem to initialize dentry at allocation time.
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'Documentation/filesystems/Locking')
-rw-r--r-- | Documentation/filesystems/Locking | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/filesystems/Locking b/Documentation/filesystems/Locking index a38da93865c2..794adbe55399 100644 --- a/Documentation/filesystems/Locking +++ b/Documentation/filesystems/Locking | |||
@@ -15,6 +15,7 @@ prototypes: | |||
15 | int (*d_compare)(const struct dentry *, const struct dentry *, | 15 | int (*d_compare)(const struct dentry *, const struct dentry *, |
16 | unsigned int, const char *, const struct qstr *); | 16 | unsigned int, const char *, const struct qstr *); |
17 | int (*d_delete)(struct dentry *); | 17 | int (*d_delete)(struct dentry *); |
18 | int (*d_init)(struct dentry *); | ||
18 | void (*d_release)(struct dentry *); | 19 | void (*d_release)(struct dentry *); |
19 | void (*d_iput)(struct dentry *, struct inode *); | 20 | void (*d_iput)(struct dentry *, struct inode *); |
20 | char *(*d_dname)((struct dentry *dentry, char *buffer, int buflen); | 21 | char *(*d_dname)((struct dentry *dentry, char *buffer, int buflen); |
@@ -30,6 +31,7 @@ d_weak_revalidate:no no yes no | |||
30 | d_hash no no no maybe | 31 | d_hash no no no maybe |
31 | d_compare: yes no no maybe | 32 | d_compare: yes no no maybe |
32 | d_delete: no yes no no | 33 | d_delete: no yes no no |
34 | d_init: no no yes no | ||
33 | d_release: no no yes no | 35 | d_release: no no yes no |
34 | d_prune: no yes no no | 36 | d_prune: no yes no no |
35 | d_iput: no no yes no | 37 | d_iput: no no yes no |