Re: any reason kvm_main.c doesn't use debugfs_remove_recursive?

2013-05-03 Thread Robert P. J. Day
On Thu, 2 May 2013, Marcelo Tosatti wrote: > On Tue, Apr 30, 2013 at 12:06:27PM -0400, Robert P. J. Day wrote: > > > > poking around in the KVM code and ran across this in kvm_main.c: > > > > ... snip ... > > out_dir: > > debugfs_remove_recursive(kvm_debugfs_dir); > > out: > > ret

Re: any reason kvm_main.c doesn't use debugfs_remove_recursive?

2013-05-02 Thread Marcelo Tosatti
On Tue, Apr 30, 2013 at 12:06:27PM -0400, Robert P. J. Day wrote: > > poking around in the KVM code and ran across this in kvm_main.c: > > ... snip ... > out_dir: > debugfs_remove_recursive(kvm_debugfs_dir); > out: > return r; > } > > static void kvm_exit_debug(void) > { >

any reason kvm_main.c doesn't use debugfs_remove_recursive?

2013-04-30 Thread Robert P. J. Day
poking around in the KVM code and ran across this in kvm_main.c: ... snip ... out_dir: debugfs_remove_recursive(kvm_debugfs_dir); out: return r; } static void kvm_exit_debug(void) { struct kvm_stats_debugfs_item *p; for (p = debugfs_entries; p->name; ++p)