26 #include <linux/module.h>
27 #include <linux/errno.h>
31 #include <linux/stat.h>
32 #include <linux/string.h>
36 #include <linux/sched.h>
37 #include <linux/slab.h>
54 static int v9fs_dentry_delete(
const struct dentry *
dentry)
57 dentry->
d_name.name, dentry);
67 static int v9fs_cached_dentry_delete(
const struct dentry *
dentry)
70 dentry->
d_name.name, dentry);
84 static void v9fs_dentry_release(
struct dentry *dentry)
90 dentry->
d_name.name, dentry);
103 static int v9fs_lookup_revalidate(
struct dentry *dentry,
unsigned int flags)
116 v9inode = V9FS_I(inode);
124 v9ses = v9fs_inode2v9ses(inode);
125 if (v9fs_proto_dotl(v9ses))
139 .d_revalidate = v9fs_lookup_revalidate,
140 .d_delete = v9fs_cached_dentry_delete,
141 .d_release = v9fs_dentry_release,
145 .d_delete = v9fs_dentry_delete,
146 .d_release = v9fs_dentry_release,