summaryrefslogtreecommitdiff
path: root/libbcachefs/fs-common.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2024-12-06 20:48:25 -0500
committerKent Overstreet <kent.overstreet@linux.dev>2024-12-08 16:00:44 -0500
commit8b31dfb3500fc642ccd36f0aaa0c3ab1b54abb1c (patch)
tree6144105d041efc511d5797a106feff718e1fba55 /libbcachefs/fs-common.c
parent2aeeac7785d647c02ef5612795025f3c9ce436ec (diff)
Update bcachefs sources to 55a65a994ed5 bcachefs: bcachefs_metadata_version_persistent_inode_cursors
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'libbcachefs/fs-common.c')
-rw-r--r--libbcachefs/fs-common.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libbcachefs/fs-common.c b/libbcachefs/fs-common.c
index d2966b67..7d279f21 100644
--- a/libbcachefs/fs-common.c
+++ b/libbcachefs/fs-common.c
@@ -69,9 +69,7 @@ int bch2_create_trans(struct btree_trans *trans,
if (!snapshot_src.inum) {
/* Inode wasn't specified, just snapshot: */
struct bch_subvolume s;
-
- ret = bch2_subvolume_get(trans, snapshot_src.subvol, true,
- BTREE_ITER_cached, &s);
+ ret = bch2_subvolume_get(trans, snapshot_src.subvol, true, &s);
if (ret)
goto err;