From: wangdi Date: Tue, 24 Aug 2004 12:22:21 +0000 (+0000) Subject: minor fix for .snap on smfs X-Git-Tag: 1.3.4~450 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=dab00292b57bc71f0f2326dda4906a30a42e316a;p=fs%2Flustre-release.git minor fix for .snap on smfs --- diff --git a/lustre/smfs/cache_space.c b/lustre/smfs/cache_space.c index 31fcd56..a6092bf 100644 --- a/lustre/smfs/cache_space.c +++ b/lustre/smfs/cache_space.c @@ -686,6 +686,7 @@ static cache_hook_op cache_space_hook_ops[HOOK_MAX + 1] = { [HOOK_RENAME] cache_space_hook_rename, [HOOK_SETATTR] NULL, [HOOK_WRITE] NULL, + [HOOK_READDIR] NULL, }; int cache_space_post(int op, void *handle, struct inode *old_dir, diff --git a/lustre/smfs/kml.c b/lustre/smfs/kml.c index 226230c..c57163f 100644 --- a/lustre/smfs/kml.c +++ b/lustre/smfs/kml.c @@ -798,6 +798,7 @@ static post_kml_rec smfs_kml_post[HOOK_MAX + 1] = { [HOOK_RENAME] smfs_post_rec_rename, [HOOK_SETATTR] smfs_post_rec_setattr, [HOOK_WRITE] smfs_post_rec_write, + [HOOK_READDIR] NULL, }; static int smfs_post_kml_rec(struct inode *dir, void *de, void *data1, void *data2, int op)