summaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/lru.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2022-12-20 19:58:16 -0500
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-22 17:09:52 -0400
commitfacafdcbc157686311dbe58649ef9d29fcf8e610 (patch)
treee9b65fe8c940d101f4a51fadd64271ed8c59668f /fs/bcachefs/lru.h
parent83f33d686553c5105ff36da4dd554c34125094e9 (diff)
downloadlinux-stable-facafdcbc157686311dbe58649ef9d29fcf8e610.tar.gz
linux-stable-facafdcbc157686311dbe58649ef9d29fcf8e610.tar.bz2
linux-stable-facafdcbc157686311dbe58649ef9d29fcf8e610.zip
bcachefs: Change bkey_invalid() rw param to flags
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/lru.h')
-rw-r--r--fs/bcachefs/lru.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/lru.h b/fs/bcachefs/lru.h
index 2e22f139848a..0cfc7459711b 100644
--- a/fs/bcachefs/lru.h
+++ b/fs/bcachefs/lru.h
@@ -22,7 +22,7 @@ static inline u64 lru_pos_time(struct bpos pos)
return pos.inode & ~(~0ULL << LRU_TIME_BITS);
}
-int bch2_lru_invalid(const struct bch_fs *, struct bkey_s_c, int, struct printbuf *);
+int bch2_lru_invalid(const struct bch_fs *, struct bkey_s_c, unsigned, struct printbuf *);
void bch2_lru_to_text(struct printbuf *, struct bch_fs *, struct bkey_s_c);
#define bch2_bkey_ops_lru ((struct bkey_ops) { \