]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
ext4: bail early when clearing inode journal flag fails
authorJan Kara <jack@suse.cz>
Thu, 30 Oct 2014 14:53:17 +0000 (10:53 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 30 Oct 2014 14:53:17 +0000 (10:53 -0400)
commit4f879ca687a5f2473b952937ce92c795a39019b4
tree82bc9483da48a41d56224a0236246543e8fd9b6d
parent6050d47adcadbb53582434d919ed7f038d936712
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>
fs/ext4/inode.c