aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifsfs.c
diff options
context:
space:
mode:
authorSteve French <sfrench@us.ibm.com>2010-10-21 22:46:14 +0000
committerSteve French <sfrench@us.ibm.com>2010-10-21 22:46:14 +0000
commitcdff08e76612e53580139653403aedea979aa639 (patch)
tree1ebd74be361b7e34158974242a2303f7833c983d /fs/cifs/cifsfs.c
parentcifs: convert cifs_tcp_ses_lock from a rwlock to a spinlock (diff)
downloadlinux-dev-cdff08e76612e53580139653403aedea979aa639.tar.xz
linux-dev-cdff08e76612e53580139653403aedea979aa639.zip
[CIFS] move close processing from cifs_close to cifsFileInfo_put
Now that it's feasible for a cifsFileInfo to outlive the filp under which it was created, move the close processing into cifsFileInfo_put. This means that the last user of the filehandle always does the actual on the wire close call. This also allows us to get rid of the closePend flag from cifsFileInfo. If we have an active reference to the file then it's never going to have a close pending. cifs_close is converted to simply put the filehandle. Signed-off-by: Jeff Layton <jlayton@redhat.com> Reviewed-by: Suresh Jayaraman <sjayaraman@suse.de> Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/cifsfs.c')
0 files changed, 0 insertions, 0 deletions