From: Eric Sandeen Date: Thu, 27 Feb 2014 04:18:23 +0000 (+1100) Subject: xfs: add helper for updating checksums on xfs_bufs X-Git-Tag: v3.15-rc1~90^2~3^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f1dbcd7e38c80c2165516b4432231b46f1adc76c;p=pandora-kernel.git xfs: add helper for updating checksums on xfs_bufs Many/most callers of xfs_update_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