]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ext4: remove tracing for FALLOC_FL_NO_HIDE_STALE
authorChristoph Hellwig <hch@lst.de>
Tue, 27 Aug 2024 06:50:46 +0000 (08:50 +0200)
committerChristian Brauner <brauner@kernel.org>
Wed, 28 Aug 2024 14:53:57 +0000 (16:53 +0200)
FALLOC_FL_NO_HIDE_STALE can't make it past vfs_fallocate (and if the
flag does what the name implies that's a good thing as it would be
highly dangerous).  Remove the dead tracing code for it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20240827065123.1762168-3-hch@lst.de
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Christian Brauner <brauner@kernel.org>
include/trace/events/ext4.h

index cc5e9b7b2b44e717bb3ad7e92c4d1c1d759fb580..156908641e68f18fbbc745b283f02b8fe5bcc44c 100644 (file)
@@ -91,7 +91,6 @@ TRACE_DEFINE_ENUM(ES_REFERENCED_B);
 #define show_falloc_mode(mode) __print_flags(mode, "|",                \
        { FALLOC_FL_KEEP_SIZE,          "KEEP_SIZE"},           \
        { FALLOC_FL_PUNCH_HOLE,         "PUNCH_HOLE"},          \
-       { FALLOC_FL_NO_HIDE_STALE,      "NO_HIDE_STALE"},       \
        { FALLOC_FL_COLLAPSE_RANGE,     "COLLAPSE_RANGE"},      \
        { FALLOC_FL_ZERO_RANGE,         "ZERO_RANGE"})