diff options
author | Pavel Shilovsky <piastry@etersoft.ru> | 2011-05-05 05:55:12 -0400 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2011-05-23 23:07:42 -0400 |
commit | 724d9f1cfba0cb16a7151333b501e8f7885450d8 (patch) | |
tree | d86b0e84a9475374cdbd05cc1e4f85fd0231162f /fs/cifs/cifsproto.h | |
parent | 37bb04e5a091a5330faef0cc09930326672b7061 (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.h | 8 |
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 *, | |||
150 | extern int set_cifs_acl(struct cifs_ntsd *, __u32, struct inode *, | 150 | extern int set_cifs_acl(struct cifs_ntsd *, __u32, struct inode *, |
151 | const char *); | 151 | const char *); |
152 | 152 | ||
153 | extern void cifs_setup_cifs_sb(struct smb_vol *pvolume_info, | ||
154 | struct cifs_sb_info *cifs_sb); | ||
155 | extern int cifs_match_super(struct super_block *, void *); | ||
156 | extern void cifs_cleanup_volume_info(struct smb_vol **pvolume_info); | ||
157 | extern int cifs_setup_volume_info(struct smb_vol **pvolume_info, | ||
158 | char *mount_data, const char *devname); | ||
153 | extern int cifs_mount(struct super_block *, struct cifs_sb_info *, | 159 | extern int cifs_mount(struct super_block *, struct cifs_sb_info *, |
154 | const char *); | 160 | struct smb_vol *, const char *); |
155 | extern int cifs_umount(struct super_block *, struct cifs_sb_info *); | 161 | extern int cifs_umount(struct super_block *, struct cifs_sb_info *); |
156 | extern void cifs_dfs_release_automount_timer(void); | 162 | extern void cifs_dfs_release_automount_timer(void); |
157 | void cifs_proc_init(void); | 163 | void cifs_proc_init(void); |