commit | fb7c02445c497943e7296cd3deee04422b63acb8 | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Sun Feb 18 23:45:18 2018 -0500 |
committer | Theodore Ts'o <tytso@mit.edu> | Sun Feb 18 23:45:18 2018 -0500 |
tree | a324e598b3ad8c07e0f9d94b48389094cd2f298a | |
parent | a6d9946bb925293fda9f5ed6d33d8580b001f006 [diff] |
ext4: pass -ESHUTDOWN code to jbd2 layer Previously the jbd2 layer assumed that a file system check would be required after a journal abort. In the case of the deliberate file system shutdown, this should not be necessary. Allow the jbd2 layer to distinguish between these two cases by using the ESHUTDOWN errno. Also add proper locking to __journal_abort_soft(). Signed-off-by: Theodore Ts'o <tytso@mit.edu> Cc: stable@vger.kernel.org