summaryrefslogtreecommitdiff
path: root/libbcachefs/xattr.h
diff options
context:
space:
mode:
Diffstat (limited to 'libbcachefs/xattr.h')
-rw-r--r--libbcachefs/xattr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libbcachefs/xattr.h b/libbcachefs/xattr.h
index 1a4cff3a..b3e16729 100644
--- a/libbcachefs/xattr.h
+++ b/libbcachefs/xattr.h
@@ -12,6 +12,7 @@ void bch2_xattr_to_text(struct printbuf *, struct bch_fs *, struct bkey_s_c);
#define bch2_bkey_ops_xattr ((struct bkey_ops) { \
.key_invalid = bch2_xattr_invalid, \
.val_to_text = bch2_xattr_to_text, \
+ .min_val_size = 8, \
})
static inline unsigned xattr_val_u64s(unsigned name_len, unsigned val_len)