summaryrefslogtreecommitdiffstats
path: root/fs/cifs/file.c
diff options
context:
space:
mode:
authorJeff Layton2008-08-18 21:41:05 +0200
committerSteve French2008-08-19 19:11:35 +0200
commitcb7691b648bddbfaf6dd8d8068273dbb18d2484c (patch)
tree74c896711abf398255cec10c7b6eb67070bc5ca0 /fs/cifs/file.c
parent[CIFS] reindent misindented statement (diff)
downloadkernel-qcow2-linux-cb7691b648bddbfaf6dd8d8068273dbb18d2484c.tar.gz
kernel-qcow2-linux-cb7691b648bddbfaf6dd8d8068273dbb18d2484c.tar.xz
kernel-qcow2-linux-cb7691b648bddbfaf6dd8d8068273dbb18d2484c.zip
cifs: add local server pointer to cifs_setup_session
cifs_setup_session references pSesInfo->server several times. That pointer shouldn't change during the life of the function so grab it once and store it in a local var. This makes the code look a little cleaner too. Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/file.c')
0 files changed, 0 insertions, 0 deletions