From 6930372eff810d0daf39febbb1129d8cce815d13 Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Sat, 12 May 2001 16:12:12 +0000 Subject: [PATCH] ChangeLog, fsck.c: fsck.c (PRS): fsck -? now prints the usage message. ChangeLog, jfs.h: jfs.h (JFS_DEBUG): Don't define JFS_DEBUG for non-kernel builds; if necessasry it can be set with configure --enable-jfs-debug --- include/linux/ChangeLog | 5 +++++ include/linux/jfs.h | 2 -- misc/ChangeLog | 2 ++ misc/fsck.c | 3 +++ 4 files changed, 10 insertions(+), 2 deletions(-) diff --git a/include/linux/ChangeLog b/include/linux/ChangeLog index fe2566b..f0959b8 100644 --- a/include/linux/ChangeLog +++ b/include/linux/ChangeLog @@ -1,3 +1,8 @@ +2001-05-12 Theodore Tso + + * jfs.h (JFS_DEBUG): Don't define JFS_DEBUG for non-kernel builds; + if necessasry it can be set with configure --enable-jfs-debug + 2001-05-01 Theodore Tso * ext2_fs.h: New feature assignments for diff --git a/include/linux/jfs.h b/include/linux/jfs.h index c8bdb32..d4a83de 100644 --- a/include/linux/jfs.h +++ b/include/linux/jfs.h @@ -26,8 +26,6 @@ */ #ifdef __KERNEL__ #define JFS_DEBUG -#else -#define JFS_DEBUG #endif extern int journal_enable_debug; diff --git a/misc/ChangeLog b/misc/ChangeLog index 490403f..3bdb897 100644 --- a/misc/ChangeLog +++ b/misc/ChangeLog @@ -1,5 +1,7 @@ 2001-05-12 Theodore Tso + * fsck.c (PRS): fsck -? now prints the usage message. + * badblocks.8.in, dumpe2fs.8.in, e2label.8.in, mke2fs.8.in, mklost+found.8.in, tune2fs.8.in: Fix typo; removed excess "anonymous" in the AVAILABILITY section. diff --git a/misc/fsck.c b/misc/fsck.c index 2c5699f..33b4028 100644 --- a/misc/fsck.c +++ b/misc/fsck.c @@ -902,6 +902,9 @@ static void PRS(int argc, char *argv[]) case '-': opts_for_fsck++; break; + case '?': + usage(); + break; default: options[++opt] = arg[j]; break; -- 1.8.3.1