• Theodore Ts'o's avatar
    ext4: pass -ESHUTDOWN code to jbd2 layer · fb7c0244
    Theodore Ts'o authored
    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: default avatarTheodore Ts'o <tytso@mit.edu>
    Cc: stable@vger.kernel.org
    fb7c0244
ioctl.c 26.8 KB