summaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/printbuf.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/printbuf.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/printbuf.h')
-rw-r--r--fs/bcachefs/printbuf.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/bcachefs/printbuf.h b/fs/bcachefs/printbuf.h
index 2191423d9f22..9a4a56c40937 100644
--- a/fs/bcachefs/printbuf.h
+++ b/fs/bcachefs/printbuf.h
@@ -124,6 +124,8 @@ void bch2_prt_units_u64(struct printbuf *, u64);
void bch2_prt_units_s64(struct printbuf *, s64);
void bch2_prt_string_option(struct printbuf *, const char * const[], size_t);
void bch2_prt_bitflags(struct printbuf *, const char * const[], u64);
+void bch2_prt_bitflags_vector(struct printbuf *, const char * const[],
+ unsigned long *, unsigned);
/* Initializer for a heap allocated printbuf: */
#define PRINTBUF ((struct printbuf) { .heap_allocated = true })