commit | 02eadeffda169a45946c79270ec19f45eeafb8e7 | [log] [tgz] |
---|---|---|
author | Jeff Layton <jlayton@redhat.com> | Fri May 09 21:26:11 2008 +0000 |
committer | Steve French <sfrench@us.ibm.com> | Sun May 11 17:45:43 2008 +0000 |
tree | b416ae6cd3d48b4188716cfd7fe7b90808bb28ac | |
parent | 1b20d672188bf80baef60d515a123f556871a5ce [diff] |
[CIFS] add local struct inode pointer to cifs_setattr Clean up cifs_setattr a bit by adding a local inode pointer, and changing all of the direntry->d_inode references to it. This also adds a bit of micro-optimization. d_inode shouldn't change over the life of this function, so we only need to dereference it once. Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Steve French <sfrench@us.ibm.com>