Re: [PATCH v3 6/8] ref_tracker: widen the ref_tracker_dir.name field
From: Jeff Layton
Date: Thu Apr 17 2025 - 17:27:22 EST
On Thu, 2025-04-17 at 21:29 +0200, Andrew Lunn wrote:
> On Thu, Apr 17, 2025 at 09:11:09AM -0400, Jeff Layton wrote:
> > Currently it's 32 bytes, but with the need to move to unique names for
> > debugfs files, that won't be enough. Move to a 64 byte name field.
> >
> > Signed-off-by: Jeff Layton <jlayton@xxxxxxxxxx>
>
> Reviewed-by: Andrew Lunn <andrew@xxxxxxx>
>
Thanks for the review!
It occurs to me that we don't technically need this patch, since
ref_tracker_dir_debugfs() doesn't overwrite dir->name in this version.
Perhaps we should drop this patch, or I could define the
REF_TRACKER_NAMESZ constant and just leave it at 32?
--
Jeff Layton <jlayton@xxxxxxxxxx>