[linux-cifs-client] [PATCH 0/2] cifs: fix open file renames and
refactor cifs_rename logic
Jeff Layton
jlayton at redhat.com
Fri Sep 5 02:45:24 GMT 2008
This patchset is intended to clean up the cifs_rename logic and to fix
renames of open files. This fixes the reproducer provided by Wilhelm
Meier when I test it against a win2k3 server. The reproducer basically
opens two files in the same directory and attempts to rename one on
top of the other.
Questions, comments and suggestions appreciated.
Signed-off-by: Jeff Layton <jlayton at redhat.com>
Jeff Layton (2):
cifs: remove NULL termination from rename target in CIFSSMBRenameOpenFIle
cifs: fix busy-file renames and refactor cifs_rename logic
fs/cifs/cifsproto.h | 2 +-
fs/cifs/cifssmb.c | 4 +-
fs/cifs/inode.c | 176 +++++++++++++++++++++++++++++----------------------
3 files changed, 103 insertions(+), 79 deletions(-)
More information about the linux-cifs-client
mailing list