Whamcloud - gitweb
b=8654
authortappro <tappro>
Thu, 15 Sep 2005 10:29:27 +0000 (10:29 +0000)
committertappro <tappro>
Thu, 15 Sep 2005 10:29:27 +0000 (10:29 +0000)
 turn on stat auditing on client for testing purpose

lustre/llite/file.c
lustre/llite/namei.c

index c993a2e..1d3c764 100644 (file)
@@ -1860,10 +1860,10 @@ int ll_inode_revalidate_it(struct dentry *dentry)
 
         ll_lookup_finish_locks(&oit, dentry);
         
-        /*
+        
         if (!req && (oit.it_op & IT_GETATTR))
                 ll_audit_log(inode, AUDIT_STAT, 0);
-        */
+        
         if (!LLI_HAVE_FLSIZE(inode)) {
                 /* if object not yet allocated, don't validate size */
                 lsm = lli->lli_smd;
index 1431105..886c4a8 100644 (file)
@@ -409,10 +409,10 @@ static struct dentry *ll_lookup_it(struct inode *parent, struct dentry *dentry,
         }
 
         ll_lookup_finish_locks(it, dentry);
-        /*
+        
         if (!req && (it->it_op & IT_GETATTR) && dentry->d_inode)
                 ll_audit_log(dentry->d_inode, AUDIT_STAT, 0);
-        */
+        
         if (nd && dentry->d_inode != NULL &&
             dentry->d_inode->i_mode & S_ISUID && S_ISDIR(dentry->d_inode->i_mode) &&
             ((gns_flags & LOOKUP_CONTINUE) || (gns_it & (IT_CHDIR | IT_OPEN))))