diff options
author | Theodore Ts'o <tytso@mit.edu> | 2001-08-15 18:39:51 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2001-08-15 18:39:51 -0400 |
commit | 88f8af61a48bafe35fdbfcb0d19f4a83f0ce3d66 (patch) | |
tree | fbb5e8c4c4063ae2488ce2ca48a0abf9eedc5bb7 /misc/fsck.c | |
parent | f3561ed5195e06b2721653acd81a3a035a702f8b (diff) | |
download | e2fsprogs-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.c | 3 |
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); } /* |