summaryrefslogtreecommitdiffstats
path: root/fs/cifs/link.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2016-09-05 23:53:43 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2016-09-28 03:54:53 +0200
commitdbbab32574c384a83e5ea6fc970928424cd363ed (patch)
tree8f784f0fc5142796b89a8b471e6df4924116bddc /fs/cifs/link.c
parentposix_acl: uapi header split (diff)
downloadlinux-dbbab32574c384a83e5ea6fc970928424cd363ed.tar.xz
linux-dbbab32574c384a83e5ea6fc970928424cd363ed.zip
cifs: get rid of unused arguments of CIFSSMBWrite()
they used to be used, but... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/cifs/link.c')
-rw-r--r--fs/cifs/link.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/link.c b/fs/cifs/link.c
index 062c2375549a..d031af8d3d4d 100644
--- a/fs/cifs/link.c
+++ b/fs/cifs/link.c
@@ -399,7 +399,7 @@ cifs_create_mf_symlink(unsigned int xid, struct cifs_tcon *tcon,
io_parms.offset = 0;
io_parms.length = CIFS_MF_SYMLINK_FILE_SIZE;
- rc = CIFSSMBWrite(xid, &io_parms, pbytes_written, pbuf, NULL, 0);
+ rc = CIFSSMBWrite(xid, &io_parms, pbytes_written, pbuf);
CIFSSMBClose(xid, tcon, fid.netfid);
return rc;
}