summaryrefslogtreecommitdiff
path: root/misc/fsck.c
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2001-05-01 15:44:37 +0000
committerTheodore Ts'o <tytso@mit.edu>2001-05-01 15:44:37 +0000
commit45d7086f4e04feed8ceaa2349fe6875423209862 (patch)
tree2ee2e45b34320a683985210332a5f7e72b2700c9 /misc/fsck.c
parentb1416db3227b4b7192ee0d2d3ff6e00e92e9d3e2 (diff)
downloade2fsprogs-45d7086f4e04feed8ceaa2349fe6875423209862.tar.gz
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.
Diffstat (limited to 'misc/fsck.c')
-rw-r--r--misc/fsck.c2
1 files changed, 1 insertions, 1 deletions
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);