On Thu, 9 Jun 2011 12:58:53 +0400 Pavel Shilovsky <piastryyy@xxxxxxxxx> wrote: > 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@xxxxxxxxx> > --- > fs/cifs/connect.c | 11 ++++------- > 1 files changed, 4 insertions(+), 7 deletions(-) > > diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c > index 23addcb..76a6670 100644 > --- a/fs/cifs/connect.c > +++ b/fs/cifs/connect.c > @@ -2203,7 +2203,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) > @@ -3538,12 +3541,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) > { Reviewed-by: Jeff Layton <jlayton@xxxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-cifs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html