diff options
author | Sachin Prabhu <sprabhu@redhat.com> | 2013-11-25 17:09:52 +0000 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2014-01-20 00:14:00 -0600 |
commit | cbb0aba6ff3ff5b64f094f81f4d99d2323c0afcc (patch) | |
tree | ea11e115ecfc85225e7abda30ccf75db5996f3cf /fs/cifs/smb1ops.c | |
parent | 8205d1bb31af047c6893a4f9e86ed88cf5d6113d (diff) |
cifs: Add create MFSymlinks to protocol ops struct
Add a new protocol ops function create_mf_symlink and have
create_mf_symlink() use it.
This patchset moves the MFSymlink operations completely to the
ops structure so that we only use the right protocol versions when
querying or creating MFSymlinks.
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs/smb1ops.c')
-rw-r--r-- | fs/cifs/smb1ops.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/cifs/smb1ops.c b/fs/cifs/smb1ops.c index 099c2760225..1470ec4fc39 100644 --- a/fs/cifs/smb1ops.c +++ b/fs/cifs/smb1ops.c @@ -1010,6 +1010,7 @@ struct smb_version_operations smb1_operations = { .mand_unlock_range = cifs_unlock_range, .push_mand_locks = cifs_push_mandatory_locks, .query_mf_symlink = cifs_query_mf_symlink, + .create_mf_symlink = cifs_create_mf_symlink, .is_read_op = cifs_is_read_op, }; |