From 5e23cc42590331cd9ea8bf779dbccc3e3d276e9b Mon Sep 17 00:00:00 2001 From: TerraTech Date: Sat, 11 Apr 2020 23:17:55 -0700 Subject: [PATCH] libzfs_FQ.c: feat(lib): Add 'FQdump_xattrs()' stringer --- lib/libzfs/libzfs_FQ.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/libzfs/libzfs_FQ.c b/lib/libzfs/libzfs_FQ.c index 3c5fd0e4b243..335646af8b11 100644 --- a/lib/libzfs/libzfs_FQ.c +++ b/lib/libzfs/libzfs_FQ.c @@ -119,6 +119,11 @@ FQdebugf(const char *format, ...) { } _Pragma("GCC diagnostic pop") +void +FQdump_xattrs(FQxattrs_t *xattrs) { + fprintf(stderr, "xattrs: %s\nx: %lu\na: %lu\n", xattrs->xattrs, xattrs->x, xattrs->a); +} + // // Skip if following xattrs: // 1) A