summaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/lru.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2022-12-21 01:58:16 +0100
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-22 23:09:52 +0200
commitfacafdcbc157686311dbe58649ef9d29fcf8e610 (patch)
treee9b65fe8c940d101f4a51fadd64271ed8c59668f /fs/bcachefs/lru.c
parentbcachefs: Rework lru btree (diff)
downloadlinux-facafdcbc157686311dbe58649ef9d29fcf8e610.tar.xz
linux-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.c')
-rw-r--r--fs/bcachefs/lru.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/lru.c b/fs/bcachefs/lru.c
index 6f7becb051bc..f1d6368dda07 100644
--- a/fs/bcachefs/lru.c
+++ b/fs/bcachefs/lru.c
@@ -10,7 +10,7 @@
/* KEY_TYPE_lru is obsolete: */
int bch2_lru_invalid(const struct bch_fs *c, struct bkey_s_c k,
- int rw, struct printbuf *err)
+ unsigned flags, struct printbuf *err)
{
const struct bch_lru *lru = bkey_s_c_to_lru(k).v;