Searched hist:fb7c02445c497943e7296cd3deee04422b63acb8 (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/fs/ext4/ |
H A D | ioctl.c | diff fb7c02445c497943e7296cd3deee04422b63acb8 Sun Feb 18 22:45:18 CST 2018 Theodore Ts'o <tytso@mit.edu> 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
|
/openbmc/linux/fs/jbd2/ |
H A D | journal.c | diff fb7c02445c497943e7296cd3deee04422b63acb8 Sun Feb 18 22:45:18 CST 2018 Theodore Ts'o <tytso@mit.edu> 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
|