mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
[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 <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
5afb3145c9
commit
abf5d15fd2
11 changed files with 168 additions and 217 deletions
|
|
@ -1375,6 +1375,14 @@ config UFS_FS_WRITE
|
|||
Say Y here if you want to try writing to UFS partitions. This is
|
||||
experimental, so you should back up your UFS partitions beforehand.
|
||||
|
||||
config UFS_DEBUG
|
||||
bool "UFS debugging"
|
||||
depends on UFS_FS
|
||||
help
|
||||
If you are experiencing any problems with the UFS filesystem, say
|
||||
Y here. This will result in _many_ additional debugging messages to be
|
||||
written to the system log.
|
||||
|
||||
endmenu
|
||||
|
||||
menu "Network File Systems"
|
||||
|
|
|
|||
Loading…
Reference in a new issue