Whamcloud - gitweb
b=8654
authortappro <tappro>
Sun, 11 Sep 2005 00:34:26 +0000 (00:34 +0000)
committertappro <tappro>
Sun, 11 Sep 2005 00:34:26 +0000 (00:34 +0000)
r=alex
- add audit flag on UNNAMED dir to enable audit inheritance on newly created objects

lustre/smfs/smfs_lib.c

index 8083745..17cbc0d 100644 (file)
@@ -192,6 +192,7 @@ static void smfs_mds_flags(struct mds_obd *mds, struct inode *root)
         
         /* enable plugins for all in ROOT */        
         SMFS_SET(I2SMI(root)->smi_flags, SMFS_PLG_ALL);
+        SMFS_SET(I2SMI(mds->mds_unnamed_dir->d_inode)->smi_flags, SMFS_PLG_ALL);
 }
 
 extern int (*audit_id2name_superhack) (struct obd_device *obd, char **name,