summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--misc/ChangeLog6
-rw-r--r--misc/fsck.c2
2 files changed, 7 insertions, 1 deletions
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 <tytso@valinux.com>
+
+ * 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 <tytso@valinux.com>
* 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);