From: braam Date: Sat, 25 May 2002 19:08:49 +0000 (+0000) Subject: Hooks for intent-based locks X-Git-Tag: v1_7_100~5619 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=92e55375c0d51040a98946db51b948044e4d0903;p=fs%2Flustre-release.git Hooks for intent-based locks --- 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 +};