aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifs_spnego.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2008-09-23 11:48:35 -0400
committerSteve French <sfrench@us.ibm.com>2008-09-23 17:11:03 +0000
commita12a1ac7a474b3680b9cce9f64a4f78123aecf37 (patch)
treeea56c96d7c0b0a81a8629779359ec06eaf922c3d /fs/cifs/cifs_spnego.c
parent2846d3864738dd6e290755d0692cf377e09ba79f (diff)
downloadkernel_samsung_aries-a12a1ac7a474b3680b9cce9f64a4f78123aecf37.zip
kernel_samsung_aries-a12a1ac7a474b3680b9cce9f64a4f78123aecf37.tar.gz
kernel_samsung_aries-a12a1ac7a474b3680b9cce9f64a4f78123aecf37.tar.bz2
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_spnego.c')
0 files changed, 0 insertions, 0 deletions