]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 15 Oct 2025 09:56:25 +0000 (11:56 +0200)
[ Upstream commit c593b9d6c446510684da400833f9d632651942f0 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
include/trace/events/filelock.h

index 1646dadd7f37cf7c97f6cd140e9571f43e9aa141..3b1c8d93b2654c959d5c484be26420fd8668c692 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,                           \