commit | fc06f25a101f31a7b4729f5da9fcf78ff6b9c969 | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <darrick.wong@oracle.com> | Mon Sep 08 16:12:02 2014 -0700 |
committer | Theodore Ts'o <tytso@mit.edu> | Thu Sep 11 12:40:54 2014 -0400 |
tree | 36c8291759c1378c374698da1354659a22dc2bbc | |
parent | 4f769f4c03e7b3a8dd5ca129bbb820f0d00f2423 [diff] |
libext2fs: write_journal_inode should check iterate return value When creating a journal inode, check the return value from block_iterate3() because otherwise we fail to capture errors such as being unable to allocate an extent tree block, which leads to e2fsck creating broken journals. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>