Whamcloud - gitweb
ChangeLog, fsck.c:
authorTheodore Ts'o <tytso@mit.edu>
Tue, 1 May 2001 15:44:37 +0000 (15:44 +0000)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 1 May 2001 15:44:37 +0000 (15:44 +0000)
  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
misc/fsck.c

index 851c070..a7935cb 100644 (file)
@@ -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
index e3f1419..2c5699f 100644 (file)
@@ -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);