From: Darrick J. Wong Date: Mon, 10 Aug 2020 20:32:05 +0000 (-0400) Subject: xfs: refactor releasing finished intents during log recovery X-Git-Tag: v5.8.0-rc0~26 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=90301e35b2ada0351c3e34cf274c4da6701508ad;p=thirdparty%2Fxfsprogs-dev.git xfs: refactor releasing finished intents during log recovery Source kernel commit: 154c733a33d9cdaabec42ae76ca1189044d0447e Replace the open-coded AIL item walking with a proper helper when we're trying to release an intent item that has been finished. We add a new ->iop_match method to decide if an intent item matches a supplied ID. Signed-off-by: Darrick J. Wong Reviewed-by: Chandan Babu R Reviewed-by: Christoph Hellwig Signed-off-by: Eric Sandeen ---