jbd2: unify revoke and tag block checksum handling
authorJan Kara <jack@suse.cz>
Tue, 23 Feb 2016 04:19:09 +0000 (23:19 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 23 Feb 2016 04:19:09 +0000 (23:19 -0500)
commit1101cd4d13ba2f42c5da4c1b9081f35a73b5df31
treec7808f5f15396fba6e5e3e68209bbe4bf4cd073f
parent32ab671599a89534f37e97d146c27690e371b661
jbd2: unify revoke and tag block checksum handling

Revoke and tag descriptor blocks are just different kinds of descriptor
blocks and thus have checksum in the same place. Unify computation and
checking of checksums for these.

Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/jbd2/commit.c
fs/jbd2/journal.c
fs/jbd2/recovery.c
fs/jbd2/revoke.c
include/linux/jbd2.h