From: Sachin Prabhu Date: Tue, 5 Mar 2013 19:25:56 +0000 (+0000) Subject: cifs: Check server capability before attempting silly rename X-Git-Tag: v3.9-rc2~6^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c483a9841df1de327e01af7deb6ba349210e5f82;p=pandora-kernel.git cifs: Check server capability before attempting silly rename cifs_rename_pending_delete() attempts to silly rename file using CIFSSMBRenameOpenFile(). This uses the SET_FILE_INFORMATION TRANS2 command with information level set to the passthru info-level SMB_SET_FILE_RENAME_INFORMATION. We need to check to make sure that the server support passthru info-levels before attempting the silly rename or else we will fail to rename the file. Signed-off-by: Sachin Prabhu Reviewed-by: Jeff Layton Signed-off-by: Steve French --- Reading git-diff-tree failed