diff options
| author | 2008-10-16 19:27:12 -0400 | |
|---|---|---|
| committer | 2008-10-17 14:47:13 +0000 | |
| commit | dd1db2dedc4f6ad736fbba5aa6ecfe6e7c8ee0f4 (patch) | |
| tree | 5585ad01c207b5cf0e45857255bceb4e1efee3ce /lib/string_helpers.c | |
| parent | [CIFS] eliminate usage of kthread_stop for cifsd (diff) | |
| download | wireguard-linux-dd1db2dedc4f6ad736fbba5aa6ecfe6e7c8ee0f4.tar.xz wireguard-linux-dd1db2dedc4f6ad736fbba5aa6ecfe6e7c8ee0f4.zip | |
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 <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions
