mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] filelock: add FL_RECLAIM to show_fl_flags() macro
@ 2025-09-03 15:23 Jeff Layton
  2025-09-05 13:54 ` Christian Brauner
  0 siblings, 1 reply; 2+ messages in thread
From: Jeff Layton @ 2025-09-03 15:23 UTC (permalink / raw)
  To: Al Viro, Christian Brauner, Chuck Lever
  Cc: linux-fsdevel, linux-kernel, Jeff Layton

Show the FL_RECLAIM flag symbolically in tracepoints.

Fixes: bb0a55bb7148 ("nfs: don't allow reexport reclaims")
Signed-off-by: Jeff Layton <jlayton@kernel.org>
---
Just a nit I noticed while working on directory delegations.
---
 include/trace/events/filelock.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/include/trace/events/filelock.h b/include/trace/events/filelock.h
index b8d1e00a7982c9ef966f414ee279ed91663bf550..2dfeb158e848a528b7d9c0d5f8872c5060df1bf6 100644
--- a/include/trace/events/filelock.h
+++ b/include/trace/events/filelock.h
@@ -27,7 +27,8 @@
 		{ FL_SLEEP,		"FL_SLEEP" },			\
 		{ FL_DOWNGRADE_PENDING,	"FL_DOWNGRADE_PENDING" },	\
 		{ FL_UNLOCK_PENDING,	"FL_UNLOCK_PENDING" },		\
-		{ FL_OFDLCK,		"FL_OFDLCK" })
+		{ FL_OFDLCK,		"FL_OFDLCK" },			\
+		{ FL_RECLAIM,		"FL_RECLAIM"})
 
 #define show_fl_type(val)				\
 	__print_symbolic(val,				\

---
base-commit: e6b9dce0aeeb91dfc0974ab87f02454e24566182
change-id: 20250903-filelock-bb10dc5c6728

Best regards,
-- 
Jeff Layton <jlayton@kernel.org>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-09-05 13:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-09-03 15:23 [PATCH] filelock: add FL_RECLAIM to show_fl_flags() macro Jeff Layton
2025-09-05 13:54 ` Christian Brauner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®