aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifsproto.h
diff options
context:
space:
mode:
authorPavel Shilovsky <piastry@etersoft.ru>2011-05-05 05:55:12 -0400
committerSteve French <sfrench@us.ibm.com>2011-05-23 23:07:42 -0400
commit724d9f1cfba0cb16a7151333b501e8f7885450d8 (patch)
treed86b0e84a9475374cdbd05cc1e4f85fd0231162f /fs/cifs/cifsproto.h
parent37bb04e5a091a5330faef0cc09930326672b7061 (diff)
CIFS: Simplify mount code for further shared sb capability
Reorganize code to get mount option at first and when get a superblock. This lets us use shared superblock model further for equal mounts. Signed-off-by: Pavel Shilovsky <piastry@etersoft.ru> Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/cifsproto.h')
-rw-r--r--fs/cifs/cifsproto.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/fs/cifs/cifsproto.h b/fs/cifs/cifsproto.h
index 3738a322cbef..fdc0dc2c083c 100644
--- a/fs/cifs/cifsproto.h
+++ b/fs/cifs/cifsproto.h
@@ -150,8 +150,14 @@ extern struct cifs_ntsd *get_cifs_acl(struct cifs_sb_info *, struct inode *,
150extern int set_cifs_acl(struct cifs_ntsd *, __u32, struct inode *, 150extern int set_cifs_acl(struct cifs_ntsd *, __u32, struct inode *,
151 const char *); 151 const char *);
152 152
153extern void cifs_setup_cifs_sb(struct smb_vol *pvolume_info,
154 struct cifs_sb_info *cifs_sb);
155extern int cifs_match_super(struct super_block *, void *);
156extern void cifs_cleanup_volume_info(struct smb_vol **pvolume_info);
157extern int cifs_setup_volume_info(struct smb_vol **pvolume_info,
158 char *mount_data, const char *devname);
153extern int cifs_mount(struct super_block *, struct cifs_sb_info *, 159extern int cifs_mount(struct super_block *, struct cifs_sb_info *,
154 const char *); 160 struct smb_vol *, const char *);
155extern int cifs_umount(struct super_block *, struct cifs_sb_info *); 161extern int cifs_umount(struct super_block *, struct cifs_sb_info *);
156extern void cifs_dfs_release_automount_timer(void); 162extern void cifs_dfs_release_automount_timer(void);
157void cifs_proc_init(void); 163void cifs_proc_init(void);