summaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/fs-io.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2022-01-04 18:24:55 -0500
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-22 17:09:21 -0400
commit57cfdd8b54b945fe80191767e36595b46893e5e0 (patch)
treeb897d826a77ebadbfcd96598e57924667e7bed68 /fs/bcachefs/fs-io.c
parent669f87a5da1c7b91b64f3c6308820b316e241cc2 (diff)
downloadlinux-57cfdd8b54b945fe80191767e36595b46893e5e0.tar.gz
linux-57cfdd8b54b945fe80191767e36595b46893e5e0.tar.bz2
linux-57cfdd8b54b945fe80191767e36595b46893e5e0.zip
bcachefs: BTREE_ITER_FILTER_SNAPSHOTS is selected automatically
It doesn't have to be specified - this patch deletes the two instances where it was. Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Diffstat (limited to 'fs/bcachefs/fs-io.c')
-rw-r--r--fs/bcachefs/fs-io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/fs-io.c b/fs/bcachefs/fs-io.c
index 28bbbac5cd67..5fce958bafc9 100644
--- a/fs/bcachefs/fs-io.c
+++ b/fs/bcachefs/fs-io.c
@@ -1005,7 +1005,7 @@ retry:
bch2_trans_iter_init(trans, &iter, BTREE_ID_extents,
SPOS(inum.inum, rbio->bio.bi_iter.bi_sector, snapshot),
- BTREE_ITER_SLOTS|BTREE_ITER_FILTER_SNAPSHOTS);
+ BTREE_ITER_SLOTS);
while (1) {
struct bkey_s_c k;
unsigned bytes, sectors, offset_into_extent;