aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifssmb.c
diff options
context:
space:
mode:
authorSteve French <smfrench@austin.rr.com>2005-04-29 01:41:08 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-29 01:41:08 -0400
commit966ca9234754ece58870075972ef103e354de075 (patch)
tree491cf960229a066196d1efb3f5687912b8b44fee /fs/cifs/cifssmb.c
parent433dc24f24b409fb130f638aa85470a0eb666206 (diff)
[PATCH] cifs: Fix caching problem
pointed out by Dave Stahl and Vince Negri in which cifs can update the last modify time on a server modified file without invalidating the local cached data due to an intervening readdir. Signed-off-by: Steve French (sfrench@us.ibm.com) Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/cifs/cifssmb.c')
-rw-r--r--fs/cifs/cifssmb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/cifssmb.c b/fs/cifs/cifssmb.c
index f7c4914c3dd9..b102ddb977ca 100644
--- a/fs/cifs/cifssmb.c
+++ b/fs/cifs/cifssmb.c
@@ -464,7 +464,7 @@ CIFSSMBTDis(const int xid, struct cifsTconInfo *tcon)
464 rc = SendReceive(xid, tcon->ses, smb_buffer, smb_buffer_response, 464 rc = SendReceive(xid, tcon->ses, smb_buffer, smb_buffer_response,
465 &length, 0); 465 &length, 0);
466 if (rc) 466 if (rc)
467 cFYI(1, (" Tree disconnect failed %d", rc)); 467 cFYI(1, ("Tree disconnect failed %d", rc));
468 468
469 if (smb_buffer) 469 if (smb_buffer)
470 cifs_small_buf_release(smb_buffer); 470 cifs_small_buf_release(smb_buffer);