From: Jeff Layton Date: Thu, 16 Oct 2008 23:27:12 +0000 (-0400) Subject: cifs: don't use CREATE_DELETE_ON_CLOSE in cifs_rename_pending_delete X-Git-Tag: v2.6.28-rc1~19^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dd1db2dedc4f6ad736fbba5aa6ecfe6e7c8ee0f4;p=pandora-kernel.git cifs: don't use CREATE_DELETE_ON_CLOSE in cifs_rename_pending_delete cifs: don't use CREATE_DELETE_ON_CLOSE in cifs_rename_pending_delete CREATE_DELETE_ON_CLOSE apparently has different semantics than when you set the DELETE_ON_CLOSE bit after opening the file. Setting it in the open says "delete this file as soon as this filehandle is closed". That's not what we want for cifs_rename_pending_delete. Don't set this bit in the CreateFlags. Experimentation shows that setting this flag in the SET_FILE_INFO call has no effect. Signed-off-by: Jeff Layton Signed-off-by: Steve French --- Reading git-diff-tree failed