summaryrefslogtreecommitdiff
path: root/fs/smb/client/link.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/smb/client/link.c')
-rw-r--r--fs/smb/client/link.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/smb/client/link.c b/fs/smb/client/link.c
index e3bb12152af4..6affff53f422 100644
--- a/fs/smb/client/link.c
+++ b/fs/smb/client/link.c
@@ -174,7 +174,7 @@ create_mf_symlink(const unsigned int xid, struct cifs_tcon *tcon,
goto out;
if (tcon->ses->server->ops->create_mf_symlink)
- rc = tcon->ses->server->ops->create_mf_symlink(xid, tcon,
+ rc = smb3_create_mf_symlink(xid, tcon,
cifs_sb, fromName, buf, &bytes_written);
else
rc = -EOPNOTSUPP;
@@ -209,7 +209,7 @@ check_mf_symlink(unsigned int xid, struct cifs_tcon *tcon,
return -ENOMEM;
if (tcon->ses->server->ops->query_mf_symlink)
- rc = tcon->ses->server->ops->query_mf_symlink(xid, tcon,
+ rc = smb3_query_mf_symlink(xid, tcon,
cifs_sb, path, buf, &bytes_read);
else
rc = -ENOSYS;
@@ -416,7 +416,7 @@ cifs_hardlink(struct dentry *old_file, struct inode *inode,
rc = -ENOSYS;
goto cifs_hl_exit;
}
- rc = server->ops->create_hardlink(xid, tcon, old_file,
+ rc = smb2_create_hardlink(xid, tcon, old_file,
from_name, to_name, cifs_sb);
if ((rc == -EIO) || (rc == -EINVAL))
rc = -EOPNOTSUPP;
@@ -513,7 +513,7 @@ cifs_symlink(struct mnt_idmap *idmap, struct inode *inode,
if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MF_SYMLINKS) {
rc = create_mf_symlink(xid, pTcon, cifs_sb, full_path, symname);
} else if (server->ops->create_reparse_symlink) {
- rc = server->ops->create_reparse_symlink(xid, inode, direntry,
+ rc = smb2_create_reparse_symlink(xid, inode, direntry,
pTcon, full_path,
symname);
goto symlink_exit;