Re: [PATCH] fbdev: mbx: fix up debugfs file creation

2019-02-08 Thread Bartlomiej Zolnierkiewicz
On 01/22/2019 04:21 PM, Greg Kroah-Hartman wrote: > There is no need to keep the dentries around for the individual debugfs > files, just delete the whole directory all at once at shutdown instead. > > This also fixes a tiny memory leak where the memory for the pointers to > the file dentries

[PATCH] fbdev: mbx: fix up debugfs file creation

2019-01-22 Thread Greg Kroah-Hartman
There is no need to keep the dentries around for the individual debugfs files, just delete the whole directory all at once at shutdown instead. This also fixes a tiny memory leak where the memory for the pointers to the file dentries was never freed when the device shut down, as well as making