diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2018-07-23 15:13:07 +0200 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 23:08:08 +0200 |
commit | 277c981c634f3e64dd99523aabfd9ed5e6c5be55 (patch) | |
tree | 71639c412531bfe8e8e992508645bedf8fdcc8fa /fs/bcachefs/xattr.h | |
parent | bcachefs: minor fsync fix (diff) | |
download | linux-277c981c634f3e64dd99523aabfd9ed5e6c5be55.tar.xz linux-277c981c634f3e64dd99523aabfd9ed5e6c5be55.zip |
bcachefs: fix bch2_val_to_text()
was returning wrong value
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/xattr.h')
-rw-r--r-- | fs/bcachefs/xattr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/xattr.h b/fs/bcachefs/xattr.h index 0e7d2fa86213..b2fe1dc42b83 100644 --- a/fs/bcachefs/xattr.h +++ b/fs/bcachefs/xattr.h @@ -7,7 +7,7 @@ extern const struct bch_hash_desc bch2_xattr_hash_desc; const char *bch2_xattr_invalid(const struct bch_fs *, struct bkey_s_c); -void bch2_xattr_to_text(struct bch_fs *, char *, size_t, struct bkey_s_c); +int bch2_xattr_to_text(struct bch_fs *, char *, size_t, struct bkey_s_c); #define bch2_bkey_xattr_ops (struct bkey_ops) { \ .key_invalid = bch2_xattr_invalid, \ |