Thread (2 messages) 2 messages, 2 authors, 2019-02-08

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

flat view

From: Bartlomiej Zolnierkiewicz <hidden>
Date: 2019-02-08 17:27:33
Also in: dri-devel, lkml

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 was never freed when the device shut down, as well as
making the logic of the code a lot simpler.

Cc: Bartlomiej Zolnierkiewicz <redacted>
Cc: dri-devel@lists.freedesktop.org
Cc: linux-fbdev@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Patch queued for v5.1, thanks.

Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help