[PATCH] xfs: remove redundant checks from xfs_da_read_buf

Christoph Hellwig hch at infradead.org
Sat May 17 06:54:50 CDT 2014


On Sat, May 17, 2014 at 09:01:28AM +1000, Dave Chinner wrote:
> From: Dave Chinner <dchinner at redhat.com>
> 
> All of the verification checks of magic numbers are now done by
> verifiers, so ther eis no need to check them again once the buffer
> has been successfully read. If the magic number is bad, it won't
> even get to that code to verify it so it really serves no purpose at
> all anymore. Remove it.
> 
> Signed-off-by: Dave Chinner <dchinner at redhat.com>

Looks good,

Reviewed-by: Christoph Hellwig <hch at lst.de>



More information about the xfs mailing list