Displaying 1 result from an estimated 1 matches for "ocfs_dentry_op".
Did you mean:
ocfs_dentry_ops
2004 Jun 14
0
[PATCH] dcache.c polishing
...*dentry)
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
+static int ocfs_dentry_revalidate(struct dentry *dentry, struct nameidata *nd)
{
- return ocfs_foreach_child (dentry, ocfs_empty_func, NULL);
+ return ocfs_dentry_revalidate24(dentry, nd ? nd->flags : 0);
}
+struct dentry_operations ocfs_dentry_ops = {
+ .d_revalidate = ocfs_dentry_revalidate,
+};
+#else
+struct dentry_operations ocfs_dentry_ops = {
+ .d_revalidate = ocfs_dentry_revalidate24,
+};
+#endif
/*
* ocfs_foreach_child()
@@ -157,6 +141,4 @@
LOG_EXIT_INT (ret);
return ret;
-} /* ocfs_foreach_child */
-
-
+}
Index: dca...