mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
jbd: jbd-debug and jbd2-debug should be writable
jbd-debug and jbd2-debug is currently read-only (S_IRUGO), which is not correct. Make it writable so that we can start debuging. Signed-off-by: Yin Kangkai <[email protected]> Reviewed-by: Aneesh Kumar K.V <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Jan Kara <[email protected]>
This commit is contained in:
parent
39bc680a81
commit
765f836190
2 changed files with 3 additions and 2 deletions
|
|
@ -1913,7 +1913,7 @@ static void __init jbd_create_debugfs_entry(void)
|
|||
{
|
||||
jbd_debugfs_dir = debugfs_create_dir("jbd", NULL);
|
||||
if (jbd_debugfs_dir)
|
||||
jbd_debug = debugfs_create_u8("jbd-debug", S_IRUGO,
|
||||
jbd_debug = debugfs_create_u8("jbd-debug", S_IRUGO | S_IWUSR,
|
||||
jbd_debugfs_dir,
|
||||
&journal_enable_debug);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue