summaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifsproto.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2011-06-17 15:27:16 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2011-06-25 00:39:42 +0200
commit2a9b99516c662d1713d58648e4a4c9aef72051bc (patch)
tree3c85e9cbe43af86d647b3c4d658955c82dc5fb7f /fs/cifs/cifsproto.h
parentcifs: initialize ->tlink_tree in cifs_setup_cifs_sb() (diff)
downloadlinux-2a9b99516c662d1713d58648e4a4c9aef72051bc.tar.xz
linux-2a9b99516c662d1713d58648e4a4c9aef72051bc.zip
sanitize cifs_umount() prototype
a) superblock argument is unused b) it always returns 0 Acked-by: Pavel Shilovsky <piastryyy@gmail.com> Reviewed-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/cifs/cifsproto.h')
-rw-r--r--fs/cifs/cifsproto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/cifsproto.h b/fs/cifs/cifsproto.h
index 5814fe543f95..257f312ede42 100644
--- a/fs/cifs/cifsproto.h
+++ b/fs/cifs/cifsproto.h
@@ -158,7 +158,7 @@ extern void cifs_cleanup_volume_info(struct smb_vol **pvolume_info);
extern int cifs_setup_volume_info(struct smb_vol **pvolume_info,
char *mount_data, const char *devname);
extern int cifs_mount(struct cifs_sb_info *, struct smb_vol *);
-extern int cifs_umount(struct super_block *, struct cifs_sb_info *);
+extern void cifs_umount(struct cifs_sb_info *);
extern void cifs_dfs_release_automount_timer(void);
void cifs_proc_init(void);
void cifs_proc_clean(void);