diff options
author | Henrique Carvalho <henrique.carvalho@suse.com> | 2024-11-12 16:48:09 -0300 |
---|---|---|
committer | Enzo Matsumiya <ematsumiya@suse.de> | 2024-11-13 15:49:46 -0300 |
commit | 472697f67cf64a2461ad1842927f3c8cc539f37e (patch) | |
tree | 37bb1e46b0884721d35eb5d902aaf1bcf88374b0 /fs/smb/client/link.c | |
parent | 8e5cdf186897806453d95697985d2eb21a4730a7 (diff) | |
download | linux-hw24-hc-wip.tar.gz linux-hw24-hc-wip.tar.bz2 linux-hw24-hc-wip.zip |
smb: client: replace function pointers of common operations for thehw24-hc-wip
common function
Signed-off-by: Henrique Carvalho <henrique.carvalho@suse.com>
Diffstat (limited to 'fs/smb/client/link.c')
-rw-r--r-- | fs/smb/client/link.c | 8 |
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; |