From 92e55375c0d51040a98946db51b948044e4d0903 Mon Sep 17 00:00:00 2001 From: braam Date: Sat, 25 May 2002 19:08:49 +0000 Subject: [PATCH] Hooks for intent-based locks --- lustre/llite/dcache.c | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 lustre/llite/dcache.c diff --git a/lustre/llite/dcache.c b/lustre/llite/dcache.c new file mode 100644 index 0000000..433056d --- /dev/null +++ b/lustre/llite/dcache.c @@ -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 +#include +#include + +#define DEBUG_SUBSYSTEM S_LLITE + +#include +#include + +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 +}; -- 1.8.3.1