diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-02-17 17:51:22 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-02-17 17:51:22 -0500 |
commit | 46a6b9210c927ab46fd1227cb6f641be0b4a7505 (patch) | |
tree | c7aea129fe8213eaefe90ac34090835d59598c7e /libbcachefs/subvolume.c | |
parent | c1677df62edb8be05caf7a6862b599f8e74c404f (diff) |
Update bcachefs sources to 1b14994029 bcachefs: Fragmentation LRUv0.27
Diffstat (limited to 'libbcachefs/subvolume.c')
-rw-r--r-- | libbcachefs/subvolume.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libbcachefs/subvolume.c b/libbcachefs/subvolume.c index 1805c854..ba281104 100644 --- a/libbcachefs/subvolume.c +++ b/libbcachefs/subvolume.c @@ -512,8 +512,7 @@ int bch2_snapshot_node_create(struct btree_trans *trans, u32 parent, n->v.pad = 0; SET_BCH_SNAPSHOT_SUBVOL(&n->v, true); - ret = bch2_trans_update(trans, &iter, &n->k_i, 0) ?: - bch2_mark_snapshot(trans, bkey_s_c_null, bkey_i_to_s_c(&n->k_i), 0); + ret = bch2_trans_update(trans, &iter, &n->k_i, 0); if (ret) goto err; |