From 45cc6b8e585245f3cac3de7900b25f4fcf6feae5 Mon Sep 17 00:00:00 2001 From: alex <alex> Date: Sun, 4 Jul 2004 21:03:23 +0000 Subject: [PATCH] - lustre exploits pdirops feature if presented. we need this to pass test #8 from CMD acceptance series --- lustre/llite/llite_lib.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lustre/llite/llite_lib.c b/lustre/llite/llite_lib.c index e2d9d18484..b122a9d30b 100644 --- a/lustre/llite/llite_lib.c +++ b/lustre/llite/llite_lib.c @@ -241,6 +241,12 @@ int lustre_common_fill_super(struct super_block *sb, char *mdc, char *osc) #endif sb->s_root = d_alloc_root(root); + +#ifdef S_PDIROPS + CWARN("Enabling PDIROPS\n"); + sb->s_flags |= S_PDIROPS; +#endif + RETURN(err); out_root: -- GitLab