diff options
author | Evgeniy Dushistov <dushistov@mail.ru> | 2006-06-25 08:47:24 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-25 13:01:03 -0400 |
commit | abf5d15fd2e52517dd56a17a846d5a1f900b7db4 (patch) | |
tree | ea537760c201cea57b468044dc733e06781ece2b /fs/Kconfig | |
parent | 5afb3145c9a733166174e1f5a07c46410b5c4091 (diff) |
[PATCH] ufs: easy debug
Currently to turn on debug mode "user" has to edit ~10 files, to turn off he
has to do it again.
This patch introduce such changes:
1)turn on(off) debug messages via ".config"
2)remove unnecessary duplication of code
3)make "UFSD" macros more similar to function
4)fix some compiler warnings
Signed-off-by: Evgeniy Dushistov <dushistov@mail.ru>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/Kconfig')
-rw-r--r-- | fs/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/fs/Kconfig b/fs/Kconfig index c0afaccad609..ea60e83e7fed 100644 --- a/fs/Kconfig +++ b/fs/Kconfig | |||
@@ -1375,6 +1375,14 @@ config UFS_FS_WRITE | |||
1375 | Say Y here if you want to try writing to UFS partitions. This is | 1375 | Say Y here if you want to try writing to UFS partitions. This is |
1376 | experimental, so you should back up your UFS partitions beforehand. | 1376 | experimental, so you should back up your UFS partitions beforehand. |
1377 | 1377 | ||
1378 | config UFS_DEBUG | ||
1379 | bool "UFS debugging" | ||
1380 | depends on UFS_FS | ||
1381 | help | ||
1382 | If you are experiencing any problems with the UFS filesystem, say | ||
1383 | Y here. This will result in _many_ additional debugging messages to be | ||
1384 | written to the system log. | ||
1385 | |||
1378 | endmenu | 1386 | endmenu |
1379 | 1387 | ||
1380 | menu "Network File Systems" | 1388 | menu "Network File Systems" |