diff options
author | 2014-02-12 11:48:31 -0500 | |
---|---|---|
committer | 2014-02-12 11:48:31 -0500 | |
commit | 30d29b119ef01776e0a301444ab24defe8d8bef3 (patch) | |
tree | e17df3182ad26e7ff0b3e966766358ad19bbf37c /fs/jbd2/commit.c | |
parent | ext4: fix xfstest generic/299 block validity failures (diff) | |
download | wireguard-linux-30d29b119ef01776e0a301444ab24defe8d8bef3.tar.xz wireguard-linux-30d29b119ef01776e0a301444ab24defe8d8bef3.zip |
ext4: fix error paths in swap_inode_boot_loader()
In swap_inode_boot_loader() we forgot to release ->i_mutex and resume
unlocked dio for inode and inode_bl if there is an error starting the
journal handle. This commit fixes this issue.
Reported-by: Ahmed Tamrawi <ahmedtamrawi@gmail.com>
Cc: Andreas Dilger <adilger.kernel@dilger.ca>
Cc: Dr. Tilmann Bubeck <t.bubeck@reinform.de>
Signed-off-by: Zheng Liu <wenqing.lz@taobao.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Cc: stable@vger.kernel.org # v3.10+
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions