OSDN Git Service

Merge tag 'xfs-6.5-merge-6' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux
[tomoyo/tomoyo-test1.git] / fs / xfs / xfs_fsops.c
index a19ee48..7cb75cb 100644 (file)
@@ -543,6 +543,9 @@ xfs_do_force_shutdown(
        } else if (flags & SHUTDOWN_CORRUPT_ONDISK) {
                tag = XFS_PTAG_SHUTDOWN_CORRUPT;
                why = "Corruption of on-disk metadata";
+       } else if (flags & SHUTDOWN_DEVICE_REMOVED) {
+               tag = XFS_PTAG_SHUTDOWN_IOERROR;
+               why = "Block device removal";
        } else {
                tag = XFS_PTAG_SHUTDOWN_IOERROR;
                why = "Metadata I/O Error";