diff options
author | Taesoo Kim <tsgatesv@gmail.com> | 2016-10-13 05:19:18 +0200 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2016-10-13 05:19:18 +0200 |
commit | 559cce698eaf4ccecb2213b2519ea3a0413e5155 (patch) | |
tree | 390239a188bbe32a50c6e30388b36d42476a2027 /fs/ext4/sysfs.c | |
parent | ext4: super.c: Update logging style using KERN_CONT (diff) | |
download | linux-559cce698eaf4ccecb2213b2519ea3a0413e5155.tar.xz linux-559cce698eaf4ccecb2213b2519ea3a0413e5155.zip |
jbd2: fix incorrect unlock on j_list_lock
When 'jh->b_transaction == transaction' (asserted by below)
J_ASSERT_JH(jh, (jh->b_transaction == transaction || ...
'journal->j_list_lock' will be incorrectly unlocked, since
the the lock is aquired only at the end of if / else-if
statements (missing the else case).
Signed-off-by: Taesoo Kim <tsgatesv@gmail.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Andreas Dilger <adilger@dilger.ca>
Fixes: 6e4862a5bb9d12be87e4ea5d9a60836ebed71d28
Cc: stable@vger.kernel.org # 3.14+
Diffstat (limited to 'fs/ext4/sysfs.c')
0 files changed, 0 insertions, 0 deletions