summaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/util.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2023-12-30 23:58:50 -0500
committerKent Overstreet <kent.overstreet@linux.dev>2024-01-01 11:47:07 -0500
commit560661d4ae067276c14bf0dc89fdd0228f993150 (patch)
tree71d5a52c750c101f7cb8de585fcbf3012b158466 /fs/bcachefs/util.h
parent6b49b0f7e73817265f80c565037ac812df6f1ae3 (diff)
downloadlinux-560661d4ae067276c14bf0dc89fdd0228f993150.tar.gz
linux-560661d4ae067276c14bf0dc89fdd0228f993150.tar.bz2
linux-560661d4ae067276c14bf0dc89fdd0228f993150.zip
bcachefs: prt_bitflags_vector()
similar to prt_bitflags(), but for ulong arrays Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/util.h')
-rw-r--r--fs/bcachefs/util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/bcachefs/util.h b/fs/bcachefs/util.h
index 2984b57b2958..b701f7fe0784 100644
--- a/fs/bcachefs/util.h
+++ b/fs/bcachefs/util.h
@@ -243,6 +243,7 @@ do { \
#define prt_units_s64(...) bch2_prt_units_s64(__VA_ARGS__)
#define prt_string_option(...) bch2_prt_string_option(__VA_ARGS__)
#define prt_bitflags(...) bch2_prt_bitflags(__VA_ARGS__)
+#define prt_bitflags_vector(...) bch2_prt_bitflags_vector(__VA_ARGS__)
void bch2_pr_time_units(struct printbuf *, u64);
void bch2_prt_datetime(struct printbuf *, time64_t);