diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-07-09 14:12:58 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:10:06 -0400 |
commit | ca630f1d3767c20026b33ba1603017e5c8e9da5a (patch) | |
tree | 39936f9a6f16992a63713667474565b12e3eb8b1 /fs/bcachefs/xattr.h | |
parent | e8ee5cc733319496cbe8a97bc75ccdb6058d2da7 (diff) | |
download | linux-ca630f1d3767c20026b33ba1603017e5c8e9da5a.tar.gz linux-ca630f1d3767c20026b33ba1603017e5c8e9da5a.tar.bz2 linux-ca630f1d3767c20026b33ba1603017e5c8e9da5a.zip |
bcachefs: Kill bch2_xattr_get()
Inline it into the only caller
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/xattr.h')
-rw-r--r-- | fs/bcachefs/xattr.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/bcachefs/xattr.h b/fs/bcachefs/xattr.h index 214cbbaac304..ad568c06e1f8 100644 --- a/fs/bcachefs/xattr.h +++ b/fs/bcachefs/xattr.h @@ -38,9 +38,7 @@ struct xattr_handler; struct bch_hash_info; struct bch_inode_info; -int bch2_xattr_get(struct bch_fs *, struct bch_inode_info *, - const char *, void *, size_t, int); - +/* Exported for cmd_migrate.c in tools: */ int bch2_xattr_set(struct btree_trans *, subvol_inum, const struct bch_hash_info *, const char *, const void *, size_t, int, int); |