mirror of
https://github.com/torvalds/linux.git
synced 2024-12-01 08:31:37 +00:00
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: Pavel Shilovsky <piastryyy@gmail.com> Reviewed-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Steve French <sfrench@us.ibm.com>
This commit is contained in:
parent
40779859de
commit
cd51875d53
@ -2149,7 +2149,10 @@ cifs_put_tlink(struct tcon_link *tlink)
|
||||
}
|
||||
|
||||
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
|
||||
compare_mount_options(struct super_block *sb, struct cifs_mnt_data *mnt_data)
|
||||
@ -3484,12 +3487,6 @@ out:
|
||||
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 *
|
||||
cifs_sb_master_tcon(struct cifs_sb_info *cifs_sb)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user