]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
bcachefs: Delete old faulty bch2_trans_unlock() call
authorKent Overstreet <kent.overstreet@linux.dev>
Fri, 28 Jun 2024 17:27:54 +0000 (13:27 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Fri, 28 Jun 2024 17:30:13 +0000 (13:30 -0400)
the unlock is now in read_extent, this fixes an assertion pop in
read_from_stale_dirty_pointer()

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/io_read.c

index c97fa7002b06e0ac9a172d23e5f627d47b9c9e7f..2a5c4371f6f8022a90a18afefcbe475c2f1cbdf9 100644 (file)
@@ -389,7 +389,6 @@ retry:
 
        bch2_bkey_buf_reassemble(&sk, c, k);
        k = bkey_i_to_s_c(sk.k);
-       bch2_trans_unlock(trans);
 
        if (!bch2_bkey_matches_ptr(c, k,
                                   rbio->pick.ptr,