diff --git a/fs/btrfs/scrub.c b/fs/btrfs/scrub.c index 2f0fbc374e876f90ee1e07ecfe5704bd4021c570..e427cb7ee12c7d848cd16402d78854e22db969dd 100644 --- a/fs/btrfs/scrub.c +++ b/fs/btrfs/scrub.c @@ -3065,6 +3065,8 @@ static noinline_for_stack int scrub_stripe(struct scrub_ctx *sctx, path->search_commit_root = 1; path->skip_locking = 1; + ppath->search_commit_root = 1; + ppath->skip_locking = 1; /* * trigger the readahead for extent tree csum tree and wait for * completion. During readahead, the scrub is officially paused