diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2013-05-28 07:31:59 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2013-05-28 07:31:59 -0400 |
commit | eee06c56784496805b198964c59fa8cd7c00bf48 (patch) | |
tree | cbdfeadc9a0ee81b83ef012f81dcae1acb0f660f /kernel/dma.c | |
parent | 5d9cf9c6254ddc551fb51072f59dfae60e579736 (diff) | |
download | linux-eee06c56784496805b198964c59fa8cd7c00bf48.tar.bz2 |
jbd2: fix block tag checksum verification brokenness
Al Viro complained of a ton of bogosity with regards to the jbd2 block
tag header checksum. This one checksum is 16 bits, so cut off the
upper 16 bits and treat it as a 16-bit value and don't mess around
with be32* conversions. Fortunately metadata checksumming is still
"experimental" and not in a shipping e2fsprogs, so there should be few
users affected by this.
Reported-by: Al Viro <viro@ZenIV.linux.org.uk>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'kernel/dma.c')
0 files changed, 0 insertions, 0 deletions