summaryrefslogtreecommitdiffstats
path: root/fs/cifs/smb2proto.h
diff options
context:
space:
mode:
authorPavel Shilovsky <pshilovsky@samba.org>2012-09-19 01:20:25 +0200
committerSteve French <smfrench@gmail.com>2012-09-25 04:46:26 +0200
commitcbe6f439f5762c7fb4d2dd9293f5fdbfc4cd68f8 (patch)
treec7469d59efb93d1a1d0fe7e40b5224fbed37d84f /fs/cifs/smb2proto.h
parentCIFS: Move unlink code to ops struct (diff)
downloadlinux-cbe6f439f5762c7fb4d2dd9293f5fdbfc4cd68f8.tar.xz
linux-cbe6f439f5762c7fb4d2dd9293f5fdbfc4cd68f8.zip
CIFS: Add SMB2 support for unlink
Signed-off-by: Pavel Shilovsky <pshilovsky@samba.org> Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs/smb2proto.h')
-rw-r--r--fs/cifs/smb2proto.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/cifs/smb2proto.h b/fs/cifs/smb2proto.h
index bfaa7b148afd..f4ac72799f70 100644
--- a/fs/cifs/smb2proto.h
+++ b/fs/cifs/smb2proto.h
@@ -59,6 +59,8 @@ extern void smb2_mkdir_setinfo(struct inode *inode, const char *full_path,
struct cifs_tcon *tcon, const unsigned int xid);
extern int smb2_rmdir(const unsigned int xid, struct cifs_tcon *tcon,
const char *name, struct cifs_sb_info *cifs_sb);
+extern int smb2_unlink(const unsigned int xid, struct cifs_tcon *tcon,
+ const char *name, struct cifs_sb_info *cifs_sb);
/*
* SMB2 Worker functions - most of protocol specific implementation details