From 88f8af61a48bafe35fdbfcb0d19f4a83f0ce3d66 Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Wed, 15 Aug 2001 18:39:51 -0400 Subject: fsck.c (check_all): Don't bother to interpret a device where the pass number is zero. (Addresses Debian bug #106696). --- misc/ChangeLog | 3 +++ misc/fsck.c | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/misc/ChangeLog b/misc/ChangeLog index eb454875..fa078992 100644 --- a/misc/ChangeLog +++ b/misc/ChangeLog @@ -1,5 +1,8 @@ 2001-08-15 Theodore Tso + * fsck.c (check_all): Don't bother to interpret a device where the + pass number is zero. (Addresses Debian bug #106696). + * mke2fs.c (PRS): Handle -O and -s options in line in the getopt loop, so that -s and -O handling are a bit more intuitive. (Not that they should be mixed anyway; -s is deprecated.) 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); } /* -- cgit v1.2.3