aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifsglob.h
diff options
context:
space:
mode:
authorPavel Shilovsky <pshilovsky@samba.org>2012-09-18 19:20:25 -0400
committerSteve French <smfrench@gmail.com>2012-09-24 22:46:26 -0400
commited6875e0d6c28e4a6b44da04d6d4363b3d92d630 (patch)
tree9a5aa48100f62ed65319950689e911cb702abbaa /fs/cifs/cifsglob.h
parent56d27adcb536b7430d5f8a6240df8ad261eb00bd (diff)
CIFS: Move unlink code to ops struct
Reviewed-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Pavel Shilovsky <pshilovsky@samba.org> Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs/cifsglob.h')
-rw-r--r--fs/cifs/cifsglob.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h
index 977dc0e85ccb..843356fa262d 100644
--- a/fs/cifs/cifsglob.h
+++ b/fs/cifs/cifsglob.h
@@ -256,6 +256,12 @@ struct smb_version_operations {
256 /* remove directory */ 256 /* remove directory */
257 int (*rmdir)(const unsigned int, struct cifs_tcon *, const char *, 257 int (*rmdir)(const unsigned int, struct cifs_tcon *, const char *,
258 struct cifs_sb_info *); 258 struct cifs_sb_info *);
259 /* unlink file */
260 int (*unlink)(const unsigned int, struct cifs_tcon *, const char *,
261 struct cifs_sb_info *);
262 /* open, rename and delete file */
263 int (*rename_pending_delete)(const char *, struct dentry *,
264 const unsigned int);
259}; 265};
260 266
261struct smb_version_values { 267struct smb_version_values {