Skip to content
  • Jan Kara's avatar
    ext4: bail early when clearing inode journal flag fails · 4f879ca6
    Jan Kara authored
    
    
    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: default avatarJan Kara <jack@suse.cz>
    Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
    4f879ca6