Add MF-Symlinks support for SMB 2.0
diff mbox

Message ID 1468252400-6814-1-git-send-email-sprabhu@redhat.com
State New
Headers show

Commit Message

Sachin Prabhu July 11, 2016, 3:53 p.m. UTC
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>
---
 fs/cifs/smb2ops.c | 2 ++
 1 file changed, 2 insertions(+)

Comments

Steve French July 12, 2016, 12:14 p.m. UTC | #1
merged into cifs-2.6.git

On Mon, Jul 11, 2016 at 10:53 AM, Sachin Prabhu <sprabhu@redhat.com> wrote:
> 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>
> ---
>  fs/cifs/smb2ops.c | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/fs/cifs/smb2ops.c b/fs/cifs/smb2ops.c
> index 3525ed7..527d1ac 100644
> --- a/fs/cifs/smb2ops.c
> +++ b/fs/cifs/smb2ops.c
> @@ -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,
> --
> 2.5.5
>

Patch
diff mbox

diff --git a/fs/cifs/smb2ops.c b/fs/cifs/smb2ops.c
index 3525ed7..527d1ac 100644
--- a/fs/cifs/smb2ops.c
+++ b/fs/cifs/smb2ops.c
@@ -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,