This patch removes an unneeded assignment in gfs2_inode_lookup: gfs2_iget already initializes GFS2_I(inode)->i_no_addr. Signed-off-by: Andreas Gruenbacher <agruenba@xxxxxxxxxx> --- fs/gfs2/inode.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/fs/gfs2/inode.c b/fs/gfs2/inode.c index 48c1418..80dd6ba 100644 --- a/fs/gfs2/inode.c +++ b/fs/gfs2/inode.c @@ -148,9 +148,7 @@ struct inode *gfs2_inode_lookup(struct super_block *sb, unsigned int type, inode = gfs2_iget(sb, no_addr, non_block); if (!inode) return ERR_PTR(-ENOMEM); - ip = GFS2_I(inode); - ip->i_no_addr = no_addr; if (inode->i_state & I_NEW) { struct gfs2_sbd *sdp = GFS2_SB(inode); -- 2.5.5 -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html