linux/fs/jbd2
Darrick J. Wong 8595798ca3 jbd2: gate checksum calculations on crc driver presence, not sb flags
Change the journal's checksum functions to gate on whether or not the
crc32c driver is loaded, and gate the loading on the superblock bits.
This prevents a journal crash if someone loads a journal in no-csum
mode and then randomizes the superblock, thus flipping on the feature
bits.

Tested-By: Nikolay Borisov <kernel@kyup.com>
Reported-by: Nikolay Borisov <kernel@kyup.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
2015-10-15 10:30:36 -04:00
..
checkpoint.c jbd2: avoid infinite loop when destroying aborted journal 2015-07-28 14:57:14 -04:00
commit.c jbd2: avoid infinite loop when destroying aborted journal 2015-07-28 14:57:14 -04:00
journal.c jbd2: gate checksum calculations on crc driver presence, not sb flags 2015-10-15 10:30:36 -04:00
Kconfig jbd2: remove debug dependency on debug_fs and update Kconfig help text 2013-06-12 23:07:51 -04:00
Makefile [PATCH] jbd2: rename jbd2 symbols to avoid duplication of jbd symbols 2006-10-11 11:14:15 -07:00
recovery.c jbd2: fix r_count overflows leading to buffer overflow in journal recovery 2015-05-14 19:11:50 -04:00
revoke.c jbd2: get rid of open coded allocation retry loop 2015-06-15 15:45:58 -04:00
transaction.c jbd2: limit number of reserved credits 2015-08-04 11:21:52 -04:00