diff --git a/lustre/llite/llite_lib.c b/lustre/llite/llite_lib.c
index e2d9d184840695c769dc335ce2aba75f3b69cbab..b122a9d30b3be2d9f26f1866690e875e94c1181c 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: