summaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/dirent.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2024-05-09 00:40:42 +0200
committerKent Overstreet <kent.overstreet@linux.dev>2024-05-09 22:23:36 +0200
commit65eaf4e24ab6b4809491248e1fed36b8d49c1ea9 (patch)
tree33a52fd7c003b575b8a312d5a808c7123966ea80 /fs/bcachefs/dirent.h
parentbcachefs: fsync() should not return -EROFS (diff)
downloadlinux-65eaf4e24ab6b4809491248e1fed36b8d49c1ea9.tar.xz
linux-65eaf4e24ab6b4809491248e1fed36b8d49c1ea9.zip
bcachefs: s/bkey_invalid_flags/bch_validate_flags
We're about to start using bch_validate_flags for superblock section validation - it's no longer bkey specific. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/dirent.h')
-rw-r--r--fs/bcachefs/dirent.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/bcachefs/dirent.h b/fs/bcachefs/dirent.h
index 635ceb3c07fb..24037e6e0a09 100644
--- a/fs/bcachefs/dirent.h
+++ b/fs/bcachefs/dirent.h
@@ -4,11 +4,11 @@
#include "str_hash.h"
-enum bkey_invalid_flags;
+enum bch_validate_flags;
extern const struct bch_hash_desc bch2_dirent_hash_desc;
int bch2_dirent_invalid(struct bch_fs *, struct bkey_s_c,
- enum bkey_invalid_flags, struct printbuf *);
+ enum bch_validate_flags, struct printbuf *);
void bch2_dirent_to_text(struct printbuf *, struct bch_fs *, struct bkey_s_c);
#define bch2_bkey_ops_dirent ((struct bkey_ops) { \