Re: [PATCH AUTOSEL 4.19 12/32] Btrfs: fix deadlock between fiemap and transaction commits
From: David Sterba
Date: Wed Aug 07 2019 - 05:47:30 EST
On Tue, Aug 06, 2019 at 05:35:00PM -0400, Sasha Levin wrote:
> From: Filipe Manana <fdmanana@xxxxxxxx>
>
> [ Upstream commit a6d155d2e363f26290ffd50591169cb96c2a609e ]
>
> Fixes: 03628cdbc64db6 ("Btrfs: do not start a transaction during fiemap")
The commit is a regression fix during the 5.2 cycle, how it could end up
in a 4.19 stable candidate?
$ git describe 03628cdbc64db6
v5.1-rc7-201-g03628cdbc64d
$ git describe --contains 03628cdbc64db6
v5.2-rc1~163^2~26
And it does not belong to 5.2 either, git cherry-pick on top of 5.2
fails.
I think such sanity check can be done automatically so the patches don't
accidentally land in trees where don't belong.