diff options
author | Jan Kara <jack@suse.cz> | 2013-05-13 15:45:01 +0200 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2013-05-13 15:45:01 +0200 |
commit | e2555fde4159467fb579e6ae3c0a8fc33015d0f5 (patch) | |
tree | aacf8fc79d3180a2bd2bf265f1fb362e7b2b4c50 /fs/fscache | |
parent | ext4: revert "ext4: use io_end for multiple bios" (diff) | |
download | linux-e2555fde4159467fb579e6ae3c0a8fc33015d0f5.tar.xz linux-e2555fde4159467fb579e6ae3c0a8fc33015d0f5.zip |
jbd,jbd2: fix oops in jbd2_journal_put_journal_head()
Commit ae4647fb (jbd2: reduce journal_head size) introduced a
regression where we occasionally hit panic in
jbd2_journal_put_journal_head() because of wrong b_jcount. The bug is
caused by gcc making 64-bit access to 32-bit bitfield and thus
clobbering b_jcount.
At least for now, those 8 bytes saved in struct journal_head are not
worth the trouble with gcc bitfield handling so revert that part of
the patch.
Reported-by: EUNBONG SONG <eunb.song@samsung.com>
Reported-by: Tony Luck <tony.luck@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/fscache')
0 files changed, 0 insertions, 0 deletions