Whamcloud - gitweb
- lustre exploits pdirops feature if presented. we need this to pass test
authoralex <alex>
Sun, 4 Jul 2004 21:03:23 +0000 (21:03 +0000)
committeralex <alex>
Sun, 4 Jul 2004 21:03:23 +0000 (21:03 +0000)
  #8 from CMD acceptance series

lustre/llite/llite_lib.c

index e2d9d18..b122a9d 100644 (file)
@@ -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: