summaryrefslogtreecommitdiff
path: root/fs/smb/client/ioctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/smb/client/ioctl.c')
-rw-r--r--fs/smb/client/ioctl.c10
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);