summaryrefslogtreecommitdiffstats
path: root/fs/cifs/smb1ops.c
diff options
context:
space:
mode:
authorPavel Shilovsky <piastry@etersoft.ru>2012-09-25 11:00:07 +0400
committerSteve French <smfrench@gmail.com>2012-09-26 22:05:10 -0500
commit760ad0cac198356c1148cad7531c1a6138322493 (patch)
treeb103ce42e18718683a2edecb988e1c40439c3f28 /fs/cifs/smb1ops.c
parent4f2b86aba87a2654a1258ffe09c22ce70ab69d60 (diff)
downloadlinux-760ad0cac198356c1148cad7531c1a6138322493.tar.gz
linux-760ad0cac198356c1148cad7531c1a6138322493.tar.bz2
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