Commit cd51875d authored by Pavel Shilovsky's avatar Pavel Shilovsky Committed by Steve French

CIFS: Fix sparse error

cifs_sb_master_tlink was declared as inline, but without a definition.
Remove the declaration and move the definition up.
Signed-off-by: default avatarPavel Shilovsky <piastryyy@gmail.com>
Reviewed-by: default avatarJeff Layton <jlayton@redhat.com>
Signed-off-by: default avatarSteve French <sfrench@us.ibm.com>
parent 40779859
...@@ -2149,7 +2149,10 @@ cifs_put_tlink(struct tcon_link *tlink) ...@@ -2149,7 +2149,10 @@ cifs_put_tlink(struct tcon_link *tlink)
} }
static inline struct tcon_link * static inline struct tcon_link *
cifs_sb_master_tlink(struct cifs_sb_info *cifs_sb); cifs_sb_master_tlink(struct cifs_sb_info *cifs_sb)
{
return cifs_sb->master_tlink;
}
static int static int
compare_mount_options(struct super_block *sb, struct cifs_mnt_data *mnt_data) compare_mount_options(struct super_block *sb, struct cifs_mnt_data *mnt_data)
...@@ -3484,12 +3487,6 @@ cifs_construct_tcon(struct cifs_sb_info *cifs_sb, uid_t fsuid) ...@@ -3484,12 +3487,6 @@ cifs_construct_tcon(struct cifs_sb_info *cifs_sb, uid_t fsuid)
return tcon; return tcon;
} }
static inline struct tcon_link *
cifs_sb_master_tlink(struct cifs_sb_info *cifs_sb)
{
return cifs_sb->master_tlink;
}
struct cifs_tcon * struct cifs_tcon *
cifs_sb_master_tcon(struct cifs_sb_info *cifs_sb) cifs_sb_master_tcon(struct cifs_sb_info *cifs_sb)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment