Re: [PATCH] kprobes: Use debugfs_remove_recursive instead debugfs_remove

2015-07-16 Thread Masami Hiramatsu
On 2015/07/16 11:16, Wang Long wrote: > In debugfs_kprobe_init, we create a directory 'kprobes' and three > files 'list', 'enabled' and 'blacklist'. When any one of the three > files creation fails, we should remove all of them. But debugfs_remove > function can not complete this work. So use

Re: [PATCH] kprobes: Use debugfs_remove_recursive instead debugfs_remove

2015-07-16 Thread Masami Hiramatsu
On 2015/07/16 11:16, Wang Long wrote: In debugfs_kprobe_init, we create a directory 'kprobes' and three files 'list', 'enabled' and 'blacklist'. When any one of the three files creation fails, we should remove all of them. But debugfs_remove function can not complete this work. So use

[PATCH] kprobes: Use debugfs_remove_recursive instead debugfs_remove

2015-07-15 Thread Wang Long
In debugfs_kprobe_init, we create a directory 'kprobes' and three files 'list', 'enabled' and 'blacklist'. When any one of the three files creation fails, we should remove all of them. But debugfs_remove function can not complete this work. So use debugfs_remove_recursive instead. Signed-off-by:

[PATCH] kprobes: Use debugfs_remove_recursive instead debugfs_remove

2015-07-15 Thread Wang Long
In debugfs_kprobe_init, we create a directory 'kprobes' and three files 'list', 'enabled' and 'blacklist'. When any one of the three files creation fails, we should remove all of them. But debugfs_remove function can not complete this work. So use debugfs_remove_recursive instead. Signed-off-by: