summaryrefslogtreecommitdiffstats
path: root/fs/cifs/smb2ops.c
diff options
context:
space:
mode:
authorPavel Shilovsky <pshilovsky@samba.org>2012-09-19 01:20:31 +0200
committerSteve French <smfrench@gmail.com>2012-09-25 04:46:29 +0200
commit35143eb5c2e3ae6c91b29144449d23f05f573796 (patch)
treec022f223815788cad6dbc9156f9d47edefc5f81d /fs/cifs/smb2ops.c
parentCIFS: Move rename to ops struct (diff)
downloadlinux-35143eb5c2e3ae6c91b29144449d23f05f573796.tar.xz
linux-35143eb5c2e3ae6c91b29144449d23f05f573796.zip
CIFS: Add SMB2 support for rename operation
Signed-off-by: Pavel Shilovsky <piastryyy@gmail.com> Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs/smb2ops.c')
-rw-r--r--fs/cifs/smb2ops.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/cifs/smb2ops.c b/fs/cifs/smb2ops.c
index f9c3dbee9010..5aaccb0f3aae 100644
--- a/fs/cifs/smb2ops.c
+++ b/fs/cifs/smb2ops.c
@@ -451,6 +451,7 @@ struct smb_version_operations smb21_operations = {
.mkdir_setinfo = smb2_mkdir_setinfo,
.rmdir = smb2_rmdir,
.unlink = smb2_unlink,
+ .rename = smb2_rename_path,
.open = smb2_open_file,
.set_fid = smb2_set_fid,
.close = smb2_close_file,