From 45d7086f4e04feed8ceaa2349fe6875423209862 Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Tue, 1 May 2001 15:44:37 +0000 Subject: [PATCH] ChangeLog, fsck.c: fsck.c (device_already_active): If we're not able to determine the base device, we should assume that the device is already active in order to force serialization. --- misc/ChangeLog | 6 ++++++ misc/fsck.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/misc/ChangeLog b/misc/ChangeLog index 851c0706..a7935cbb 100644 --- a/misc/ChangeLog +++ b/misc/ChangeLog @@ -1,3 +1,9 @@ +2001-05-01 Theodore Tso + + * fsck.c (device_already_active): If we're not able to determine + the base device, we should assume that the device is + already active in order to force serialization. + 2001-04-26 Theodore Tso * tune2fs.c (parse_tune2fs_options): Interpret -c 0 as -c -1 (for diff --git a/misc/fsck.c b/misc/fsck.c index e3f1419c..2c5699ff 100644 --- a/misc/fsck.c +++ b/misc/fsck.c @@ -699,7 +699,7 @@ static int device_already_active(char *device) base = base_device(device); if (!base) - return 0; + return 1; for (inst = instance_list; inst; inst = inst->next) { if (!strcmp(base, inst->base_device)) { free(base);