xfs: remove redundant checks from xfs_da_read_buf
authorDave Chinner <dchinner@redhat.com>
Mon, 19 May 2014 22:23:06 +0000 (08:23 +1000)
committerDave Chinner <david@fromorbit.com>
Mon, 19 May 2014 22:23:06 +0000 (08:23 +1000)
commit7c166350b15cbec4ed9357563461b6e1d2a44ea9
tree7a2e54615465f7831561dbcb65f8f9486688eaca
parent110dc24ad2ae4e9b94b08632fe1eb2fcdff83045
xfs: remove redundant checks from xfs_da_read_buf

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@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/xfs_da_btree.c