Add MF-Symlinks support for SMB 2.0
authorSachin Prabhu <sprabhu@redhat.com>
Mon, 11 Jul 2016 15:53:20 +0000 (16:53 +0100)
committerSteve French <smfrench@gmail.com>
Tue, 12 Jul 2016 03:20:54 +0000 (22:20 -0500)
We should be able to use the same helper functions used for SMB 2.1 and
later versions.

Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
Signed-off-by: Steve French <smfrench@gmail.com>
fs/cifs/smb2ops.c

index 3525ed756173d40009017ca11c9ae04cbd97f34a..527d1ac8583ba9e739af8d81ee770e3fe0c54d90 100644 (file)
@@ -1515,6 +1515,8 @@ struct smb_version_operations smb20_operations = {
        .rename = smb2_rename_path,
        .create_hardlink = smb2_create_hardlink,
        .query_symlink = smb2_query_symlink,
+       .query_mf_symlink = smb3_query_mf_symlink,
+       .create_mf_symlink = smb3_create_mf_symlink,
        .open = smb2_open_file,
        .set_fid = smb2_set_fid,
        .close = smb2_close_file,