From: Steve French Date: Thu, 20 Nov 2008 20:00:44 +0000 (+0000) Subject: [CIFS] Do not attempt to close invalidated file handles X-Git-Tag: v2.6.28-rc6~5^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ddb4cbfc53aa0913ee8da059fcbf628d14f40f63;p=pandora-kernel.git [CIFS] Do not attempt to close invalidated file handles If a connection with open file handles has gone down and come back up and reconnected without reopening the file handle yet, do not attempt to send an SMB close request for this handle in cifs_close. We were checking for the connection being invalid in cifs_close but since the connection may have been reconnected we also need to check whether the file handle was marked invalid (otherwise we could close the wrong file handle by accident). Acked-by: Jeff Layton Signed-off-by: Steve French --- Reading git-diff-tree failed