summaryrefslogtreecommitdiff
path: root/misc/fsck.c
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2001-08-15 18:39:51 -0400
committerTheodore Ts'o <tytso@mit.edu>2001-08-15 18:39:51 -0400
commit88f8af61a48bafe35fdbfcb0d19f4a83f0ce3d66 (patch)
treefbb5e8c4c4063ae2488ce2ca48a0abf9eedc5bb7 /misc/fsck.c
parentf3561ed5195e06b2721653acd81a3a035a702f8b (diff)
downloade2fsprogs-88f8af61a48bafe35fdbfcb0d19f4a83f0ce3d66.tar.gz
fsck.c (check_all): Don't bother to interpret a device where the
pass number is zero. (Addresses Debian bug #106696).
Diffstat (limited to 'misc/fsck.c')
-rw-r--r--misc/fsck.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/misc/fsck.c b/misc/fsck.c
index 6eefd550..c469ad71 100644
--- a/misc/fsck.c
+++ b/misc/fsck.c
@@ -874,7 +874,8 @@ static int check_all(NOARGS)
for (fs = filesys_info; fs; fs = fs->next) {
if (ignore(fs))
fs->flags |= FLAG_DONE;
- fs->device = interpret_device(fs->device);
+ else
+ fs->device = interpret_device(fs->device);
}
/*