Whamcloud - gitweb
Hooks for intent-based locks
authorbraam <braam>
Sat, 25 May 2002 19:08:49 +0000 (19:08 +0000)
committerbraam <braam>
Sat, 25 May 2002 19:08:49 +0000 (19:08 +0000)
lustre/llite/dcache.c [new file with mode: 0644]

diff --git a/lustre/llite/dcache.c b/lustre/llite/dcache.c
new file mode 100644 (file)
index 0000000..433056d
--- /dev/null
@@ -0,0 +1,32 @@
+/*
+ *
+ * This code is issued under the GNU General Public License.
+ * See the file COPYING in this distribution
+ *
+ *  Copyright (C) 2001, Cluster File Systems, Inc.
+ * 
+ */
+
+#include <linux/fs.h>
+#include <linux/locks.h>
+#include <linux/quotaops.h>
+
+#define DEBUG_SUBSYSTEM S_LLITE
+
+#include <linux/obd_support.h>
+#include <linux/lustre_lite.h>
+
+extern struct address_space_operations ll_aops;
+
+int ll_revalidate2(struct dentry *de, int flags, struct lookup_intent *it)
+{
+        ENTRY;
+        
+
+        RETURN(1);
+}
+
+
+struct dentry_operations ll_d_ops = { 
+        d_revalidate2: ll_revalidate2
+};