diff options
author | Jan Kara <jack@suse.cz> | 2014-10-30 10:53:17 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2014-10-30 10:53:17 -0400 |
commit | 4f879ca687a5f2473b952937ce92c795a39019b4 (patch) | |
tree | 82bc9483da48a41d56224a0236246543e8fd9b6d /fs/ext4/extents.c | |
parent | 6050d47adcadbb53582434d919ed7f038d936712 (diff) | |
download | linux-4f879ca687a5f2473b952937ce92c795a39019b4.tar.bz2 |
ext4: bail early when clearing inode journal flag fails
When clearing inode journal flag, we call jbd2_journal_flush() to force
all the journalled data to their final locations. Currently we ignore
when this fails and continue clearing inode journal flag. This isn't a
big problem because when jbd2_journal_flush() fails, journal is likely
aborted anyway. But it can still lead to somewhat confusing results so
rather bail out early.
Coverity-id: 989044
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/extents.c')
0 files changed, 0 insertions, 0 deletions