summaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifsproto.h
diff options
context:
space:
mode:
authorJeff Layton2011-07-06 14:10:38 +0200
committerSteve French2011-07-08 05:51:23 +0200
commit04db79b015dafcb79371fda6b5c32ffdbd31a2ff (patch)
treeeef264d76b4f352d56be896b950631d857ec61b0 /fs/cifs/cifsproto.h
parentcifs: have cifs_cleanup_volume_info not take a double pointer (diff)
downloadkernel-qcow2-linux-04db79b015dafcb79371fda6b5c32ffdbd31a2ff.tar.gz
kernel-qcow2-linux-04db79b015dafcb79371fda6b5c32ffdbd31a2ff.tar.xz
kernel-qcow2-linux-04db79b015dafcb79371fda6b5c32ffdbd31a2ff.zip
cifs: factor smb_vol allocation out of cifs_setup_volume_info
Signed-off-by: Jeff Layton <jlayton@redhat.com> Reviewed-by: Pavel Shilovsky <piastryyy@gmail.com> Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/cifsproto.h')
-rw-r--r--fs/cifs/cifsproto.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/cifs/cifsproto.h b/fs/cifs/cifsproto.h
index 53b1b13581c6..8df28e925e5b 100644
--- a/fs/cifs/cifsproto.h
+++ b/fs/cifs/cifsproto.h
@@ -155,8 +155,8 @@ extern void cifs_setup_cifs_sb(struct smb_vol *pvolume_info,
struct cifs_sb_info *cifs_sb);
extern int cifs_match_super(struct super_block *, void *);
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 struct smb_vol *cifs_get_volume_info(char *mount_data,
+ const char *devname);
extern int cifs_mount(struct cifs_sb_info *, struct smb_vol *);
extern void cifs_umount(struct cifs_sb_info *);
extern void cifs_dfs_release_automount_timer(void);