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/ioctl.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/ioctl.c')
-rw-r--r-- | fs/smb/client/ioctl.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/fs/smb/client/ioctl.c b/fs/smb/client/ioctl.c index d61526592329..c15057c5de00 100644 --- a/fs/smb/client/ioctl.c +++ b/fs/smb/client/ioctl.c @@ -55,7 +55,7 @@ static long cifs_ioctl_query_info(unsigned int xid, struct file *filep, } if (tcon->ses->server->ops->ioctl_query_info) - rc = tcon->ses->server->ops->ioctl_query_info( + rc = smb2_ioctl_query_info( xid, tcon, cifs_sb, utf16_path, filep->private_data ? 0 : 1, p); else @@ -409,7 +409,7 @@ long cifs_ioctl(struct file *filep, unsigned int command, unsigned long arg) /* Try to set compress flag */ if (tcon->ses->server->ops->set_compression) { - rc = tcon->ses->server->ops->set_compression( + rc = smb2_set_compression( xid, tcon, pSMBFile); cifs_dbg(FYI, "set compress flag rc %d\n", rc); } @@ -456,7 +456,7 @@ long cifs_ioctl(struct file *filep, unsigned int command, unsigned long arg) } tcon = tlink_tcon(pSMBFile->tlink); if (tcon->ses->server->ops->enum_snapshots) - rc = tcon->ses->server->ops->enum_snapshots(xid, tcon, + rc = smb3_enum_snapshots(xid, tcon, pSMBFile, (void __user *)arg); else rc = -EOPNOTSUPP; @@ -534,7 +534,7 @@ long cifs_ioctl(struct file *filep, unsigned int command, unsigned long arg) } tcon = tlink_tcon(tlink); if (tcon && tcon->ses->server->ops->notify) { - rc = tcon->ses->server->ops->notify(xid, + rc = smb3_notify(xid, filep, (void __user *)arg, false /* no ret data */); cifs_dbg(FYI, "ioctl notify rc %d\n", rc); @@ -556,7 +556,7 @@ long cifs_ioctl(struct file *filep, unsigned int command, unsigned long arg) } tcon = tlink_tcon(tlink); if (tcon && tcon->ses->server->ops->notify) { - rc = tcon->ses->server->ops->notify(xid, + rc = smb3_notify(xid, filep, (void __user *)arg, true /* return details */); cifs_dbg(FYI, "ioctl notify info rc %d\n", rc); |