summaryrefslogtreecommitdiffstats
path: root/fs/cifs/smb1ops.c
diff options
context:
space:
mode:
authorPavel Shilovsky <piastry@etersoft.ru>2012-09-25 09:00:07 +0200
committerSteve French <smfrench@gmail.com>2012-09-27 05:05:10 +0200
commit760ad0cac198356c1148cad7531c1a6138322493 (patch)
treeb103ce42e18718683a2edecb988e1c40439c3f28 /fs/cifs/smb1ops.c
parentcifs: change DOS/NT/POSIX mapping of ERRnoresource (diff)
downloadlinux-760ad0cac198356c1148cad7531c1a6138322493.tar.xz
linux-760ad0cac198356c1148cad7531c1a6138322493.zip
CIFS: Make ops->close return void
Signed-off-by: Pavel Shilovsky <piastry@etersoft.ru> Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs/smb1ops.c')
-rw-r--r--fs/cifs/smb1ops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/cifs/smb1ops.c b/fs/cifs/smb1ops.c
index 5fb0fe5f72b6..42dccbb57c40 100644
--- a/fs/cifs/smb1ops.c
+++ b/fs/cifs/smb1ops.c
@@ -720,11 +720,11 @@ cifs_set_fid(struct cifsFileInfo *cfile, struct cifs_fid *fid, __u32 oplock)
cinode->can_cache_brlcks = cinode->clientCanCacheAll;
}
-static int
+static void
cifs_close_file(const unsigned int xid, struct cifs_tcon *tcon,
struct cifs_fid *fid)
{
- return CIFSSMBClose(xid, tcon, fid->netfid);
+ CIFSSMBClose(xid, tcon, fid->netfid);
}
static int