On Thu, Jan 09, 2020 at 10:45:00AM -0800, Darrick J. Wong wrote: > From: Darrick J. Wong <darrick.wong@xxxxxxxxxx> > > The only thing that can cause a nonzero return from > xfs_buf_item_get_format is if the kmem_alloc fails, which it can't. > Get rid of all the unnecessary error handling. > > Signed-off-by: Darrick J. Wong <darrick.wong@xxxxxxxxxx> Looks good, Reviewed-by: Christoph Hellwig <hch@xxxxxx>