From: Eric Sandeen Date: Thu, 27 Feb 2014 04:17:27 +0000 (+1100) Subject: xfs: add helper for verifying checksums on xfs_bufs X-Git-Tag: v3.15-rc1~90^2~3^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5158217058fc2cdb92e05b9bb3c1a350d2a51ed9;p=pandora-kernel.git xfs: add helper for verifying checksums on xfs_bufs Many/most callers of xfs_verify_cksum() pass bp->b_addr and BBTOB(bp->b_length) as the first 2 args. Add a helper which can just accept the bp and the crc offset, and work it out on its own, for brevity. Signed-off-by: Eric Sandeen Reviewed-by: Dave Chinner Signed-off-by: Dave Chinner --- Reading git-diff-tree failed