Skip to contentSkip to conversation

filelock: add FL_RECLAIM to show_fl_flags() macro

PATCH Applied Jeff Layton 2 participants 2 messages Sep 3, 2025 – Sep 5, 2025

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 filelock: add FL_RECLAIM to show_fl_flags() macro

Show the FL_RECLAIM flag symbolically in tracepoints.

Fixes bb0a55bb7148 ("nfs: don't allow reexport reclaims")

---
Just a nit I noticed while working on directory delegations.

---
 include/trace/events/filelock.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
include/trace/events/filelock.h +2 -1
index b8d1e00a7982c9ef966f414ee279ed91663bf550..2dfeb158e848a528b7d9c0d5f8872c5060df1bf6 100644
@@ -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,

Signature · 1 line
Jeff Layton <[email protected]>
maintainer Applied
#1 lore raw
Quoted 3 lines · Jeff Layton

Show the FL_RECLAIM flag symbolically in tracepoints.

Applied to the vfs-6.18.misc branch of the vfs/vfs.git tree. Patches in the vfs-6.18.misc branch should appear in linux-next soon.

Please report any outstanding bugs that were missed during review in a new review to the original patch series allowing us to drop it.

It's encouraged to provide Acked-bys and Reviewed-bys even though the patch has now been applied. If possible patch trailers will be updated.

Note that commit hashes shown below are subject to change due to rebase, trailer updates or similar. If in doubt, please check the listed branch.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git
branch: vfs-6.18.misc

[1/1] filelock: add FL_RECLAIM to show_fl_flags() macro

      https://git.kernel.org/vfs/vfs/c/c593b9d6c446