[PATCH v2] xfs: don't leak root inode reference

Dave Chinner david at fromorbit.com
Tue Sep 17 22:13:02 CDT 2013


On Tue, Sep 10, 2013 at 06:11:22PM -0500, Ben Myers wrote:
> Ok.  Lets try this.  ;)
> 
> xfs: remove usage of is_bad_inode
> 
> XFS never calls mark_inode_bad or iget_failed, so it will never see a
> bad inode.  Remove all checks for is_bad_inode because they are
> unnecessary.
> 
> Signed-off-by: Ben Myers <bpm at sgi.com>

Looks good to me.

Reviewed-by: Dave Chinner <dchinner at redhat.com>
-- 
Dave Chinner
david at fromorbit.com



More information about the xfs mailing list