diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2008-11-20 13:14:16 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-11-20 13:14:16 -0800 |
commit | 0cb39aa0ac3a9dc64171b43a85d17e539d82f2d6 (patch) | |
tree | c69f6840e55b868e23b3315eb0f09ad245ce67c4 /fs/cifs/cifssmb.c | |
parent | c93fc2873edcd3eae0ed11ba288a77f3ef62e92b (diff) | |
parent | ddb4cbfc53aa0913ee8da059fcbf628d14f40f63 (diff) | |
download | op-kernel-dev-0cb39aa0ac3a9dc64171b43a85d17e539d82f2d6.zip op-kernel-dev-0cb39aa0ac3a9dc64171b43a85d17e539d82f2d6.tar.gz |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6:
[CIFS] Do not attempt to close invalidated file handles
[CIFS] fix check for dead tcon in smb_init
Diffstat (limited to 'fs/cifs/cifssmb.c')
-rw-r--r-- | fs/cifs/cifssmb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/cifssmb.c b/fs/cifs/cifssmb.c index bdda46d..2af8626 100644 --- a/fs/cifs/cifssmb.c +++ b/fs/cifs/cifssmb.c @@ -295,7 +295,7 @@ smb_init(int smb_command, int wct, struct cifsTconInfo *tcon, check for tcp and smb session status done differently for those three - in the calling routine */ if (tcon) { - if (tcon->need_reconnect) { + if (tcon->tidStatus == CifsExiting) { /* only tree disconnect, open, and write, (and ulogoff which does not have tcon) are allowed as we start force umount */ |