diff options
author | Jeff Layton <jlayton@redhat.com> | 2008-09-23 11:48:35 -0400 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2008-09-23 17:11:03 +0000 |
commit | a12a1ac7a474b3680b9cce9f64a4f78123aecf37 (patch) | |
tree | ea56c96d7c0b0a81a8629779359ec06eaf922c3d /fs/cifs/cifs_debug.h | |
parent | 2846d3864738dd6e290755d0692cf377e09ba79f (diff) |
cifs: move rename and delete-on-close logic into helper function
cifs: move rename and delete-on-close logic into helper function
When a file is still open on the server, we attempt to set the
DELETE_ON_CLOSE bit and rename it to a new filename. When the
last opener closes the file, the server should delete it.
This patch moves this mechanism into a helper function and has
the two places in cifs_unlink that do this procedure call it. It
also fixes the open flags to be correct.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/cifs_debug.h')
0 files changed, 0 insertions, 0 deletions