[PATCH 3/6]cifs Fix variable not set warnings
Alessandro Guido
ag at alessandroguido.name
Sun Jun 20 13:22:10 UTC 2010
> ...
> @@ -734,7 +733,6 @@ cifs_lookup(struct inode *parent_dir_inode, struct dentry *direntry,
> direntry->d_op =&cifs_dentry_ops;
> d_add(direntry, newInode);
> if (posix_open)
> - filp = lookup_instantiate_filp(nd, direntry, NULL);
> /* since paths are not looked up by component - the parent
> directories are presumed to be good here */
> renew_parental_timestamps(direntry);
> ...
This is wrong, now "renew_parental_timestamps(direntry)" is in the if body.
More information about the Linux-audit
mailing list