diff options
author | Sean Finney <seanius@seanius.net> | 2011-04-11 09:19:35 -0400 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2011-05-19 10:10:55 -0400 |
commit | f14bcf71d1b802f6042b6c70a0c37120e47a0876 (patch) | |
tree | 9852d20c31ec19caaccec30a0b06b89542681ac7 /fs/cifs/cifsproto.h | |
parent | 5167f11ec962690ecf926fab00f1d0524cd78664 (diff) |
cifs: Unconditionally copy mount options to superblock info
Previously mount options were copied and updated in the cifs_sb_info
struct only when CONFIG_CIFS_DFS_UPCALL was enabled. Making this
information generally available allows us to remove a number of ifdefs,
extra function params, and temporary variables.
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Sean Finney <seanius@seanius.net>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/cifsproto.h')
-rw-r--r-- | fs/cifs/cifsproto.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/cifsproto.h b/fs/cifs/cifsproto.h index 136d2f2febcc..a1c94d396afe 100644 --- a/fs/cifs/cifsproto.h +++ b/fs/cifs/cifsproto.h | |||
@@ -148,7 +148,7 @@ extern struct cifs_ntsd *get_cifs_acl(struct cifs_sb_info *, struct inode *, | |||
148 | extern int set_cifs_acl(struct cifs_ntsd *, __u32, struct inode *, | 148 | extern int set_cifs_acl(struct cifs_ntsd *, __u32, struct inode *, |
149 | const char *); | 149 | const char *); |
150 | 150 | ||
151 | extern int cifs_mount(struct super_block *, struct cifs_sb_info *, char *, | 151 | extern int cifs_mount(struct super_block *, struct cifs_sb_info *, |
152 | const char *); | 152 | const char *); |
153 | extern int cifs_umount(struct super_block *, struct cifs_sb_info *); | 153 | extern int cifs_umount(struct super_block *, struct cifs_sb_info *); |
154 | extern void cifs_dfs_release_automount_timer(void); | 154 | extern void cifs_dfs_release_automount_timer(void); |