summaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifspdu.h
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2008-05-09 23:26:11 +0200
committerSteve French <sfrench@us.ibm.com>2008-05-11 19:45:43 +0200
commit02eadeffda169a45946c79270ec19f45eeafb8e7 (patch)
treeb416ae6cd3d48b4188716cfd7fe7b90808bb28ac /fs/cifs/cifspdu.h
parent[CIFS] cifs_find_tcp_session cleanup (diff)
downloadlinux-02eadeffda169a45946c79270ec19f45eeafb8e7.tar.xz
linux-02eadeffda169a45946c79270ec19f45eeafb8e7.zip
[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>
Diffstat (limited to 'fs/cifs/cifspdu.h')
0 files changed, 0 insertions, 0 deletions