From d1ad90c5b47a5bc6d5a70bf0ee388ecb6478b3c8 Mon Sep 17 00:00:00 2001 From: yury Date: Fri, 13 Aug 2004 16:10:43 +0000 Subject: [PATCH] - small fix in mds_lock_mode_for_dir() --- lustre/mds/handler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/mds/handler.c b/lustre/mds/handler.c index 735489c..819acf5 100644 --- a/lustre/mds/handler.c +++ b/lustre/mds/handler.c @@ -180,7 +180,7 @@ int mds_lock_mode_for_dir(struct obd_device *obd, * type of access (lookup/modify/split) - LCK_EX -bzzz */ split = mds_splitting_expected(obd, dentry); - if (split == MDS_NO_SPLITTABLE || MDS_NO_SPLIT_EXPECTED) { + if (split == MDS_NO_SPLITTABLE || split == MDS_NO_SPLIT_EXPECTED) { /* this inode won't be splitted. so we need not to protect from * just flush client's cache on modification */ ret_mode = 0; -- 1.8.3.1