]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
filelock: add FL_RECLAIM to show_fl_flags() macro
authorJeff Layton <jlayton@kernel.org>
Wed, 3 Sep 2025 15:23:33 +0000 (11:23 -0400)
committerChristian Brauner <brauner@kernel.org>
Fri, 5 Sep 2025 13:54:27 +0000 (15:54 +0200)
Show the FL_RECLAIM flag symbolically in tracepoints.

Fixes: bb0a55bb7148 ("nfs: don't allow reexport reclaims")
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Link: https://lore.kernel.org/20250903-filelock-v1-1-f2926902962d@kernel.org
Signed-off-by: Christian Brauner <brauner@kernel.org>
include/trace/events/filelock.h

index b8d1e00a7982c9ef966f414ee279ed91663bf550..2dfeb158e848a528b7d9c0d5f8872c5060df1bf6 100644 (file)
@@ -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,                           \