summaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifsglob.h
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/cifsglob.h
parent4f2b86aba87a2654a1258ffe09c22ce70ab69d60 (diff)
downloadop-kernel-dev-760ad0cac198356c1148cad7531c1a6138322493.zip
op-kernel-dev-760ad0cac198356c1148cad7531c1a6138322493.tar.gz
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/cifsglob.h')
-rw-r--r--fs/cifs/cifsglob.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h
index a39e5b7..f6f4063 100644
--- a/fs/cifs/cifsglob.h
+++ b/fs/cifs/cifsglob.h
@@ -316,7 +316,8 @@ struct smb_version_operations {
/* set fid protocol-specific info */
void (*set_fid)(struct cifsFileInfo *, struct cifs_fid *, __u32);
/* close a file */
- int (*close)(const unsigned int, struct cifs_tcon *, struct cifs_fid *);
+ void (*close)(const unsigned int, struct cifs_tcon *,
+ struct cifs_fid *);
/* send a flush request to the server */
int (*flush)(const unsigned int, struct cifs_tcon *, struct cifs_fid *);
/* async read from the server */
OpenPOWER on IntegriCloud