On Tue, Oct 10, 2023 at 06:04:43PM -0400, Alexander Aring wrote:
From: Christophe JAILLET christophe.jaillet@wanadoo.fr
There is no need to clear the buffer used to build the file name.
snprintf() already guarantees that it is NULL terminated and such a (useless) precaution was not done for the first string (i.e ls_debug_rsb_dentry)
So, save a few LoC.
Signed-off-by: Christophe JAILLET christophe.jaillet@wanadoo.fr Signed-off-by: Alexander Aring aahringo@redhat.com
fs/dlm/debug_fs.c | 5 ----- 1 file changed, 5 deletions(-)
<formletter>
This is not the correct way to submit patches for inclusion in the stable kernel tree. Please read: https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html for how to do this properly.
</formletter>