[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250417-reftrack-dbgfs-v3-6-c3159428c8fb@kernel.org>
Date: Thu, 17 Apr 2025 09:11:09 -0400
From: Jeff Layton <jlayton@...nel.org>
To: Andrew Morton <akpm@...ux-foundation.org>,
"David S. Miller" <davem@...emloft.net>, Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
Simon Horman <horms@...nel.org>
Cc: Kuniyuki Iwashima <kuniyu@...zon.com>, Qasim Ijaz <qasdev00@...il.com>,
Nathan Chancellor <nathan@...nel.org>, Andrew Lunn <andrew@...n.ch>,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org,
Jeff Layton <jlayton@...nel.org>
Subject: [PATCH v3 6/8] ref_tracker: widen the ref_tracker_dir.name field
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@...nel.org>
---
include/linux/ref_tracker.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/include/linux/ref_tracker.h b/include/linux/ref_tracker.h
index 77a55a32c067216fa02ba349498f53bd289aee0c..e47e81fd048812251eca2820a8b1e89f5750de3a 100644
--- a/include/linux/ref_tracker.h
+++ b/include/linux/ref_tracker.h
@@ -7,6 +7,8 @@
#include <linux/stackdepot.h>
#include <linux/seq_file.h>
+#define REF_TRACKER_NAMESZ 64
+
struct ref_tracker;
struct ref_tracker_dir {
@@ -21,7 +23,7 @@ struct ref_tracker_dir {
#ifdef CONFIG_DEBUG_FS
struct dentry *dentry;
#endif
- char name[32];
+ char name[REF_TRACKER_NAMESZ];
#endif
};
--
2.49.0
Powered by blists - more mailing lists