Loading fs/hostfs/hostfs_kern.c +7 −3 Original line number Diff line number Diff line Loading @@ -991,8 +991,12 @@ static int hostfs_fill_sb_common(struct super_block *sb, void *d, int silent) goto out_put; err = read_inode(root_inode); if(err) goto out_put; if(err){ /* No iput in this case because the dput does that for us */ dput(sb->s_root); sb->s_root = NULL; goto out_free; } return(0); Loading Loading
fs/hostfs/hostfs_kern.c +7 −3 Original line number Diff line number Diff line Loading @@ -991,8 +991,12 @@ static int hostfs_fill_sb_common(struct super_block *sb, void *d, int silent) goto out_put; err = read_inode(root_inode); if(err) goto out_put; if(err){ /* No iput in this case because the dput does that for us */ dput(sb->s_root); sb->s_root = NULL; goto out_free; } return(0); Loading