Message ID | 20220617100641.1653164-6-amir73il@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <fstests-owner@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 17EB0CCA479 for <linux-fstests@archiver.kernel.org>; Fri, 17 Jun 2022 10:07:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1381640AbiFQKHf (ORCPT <rfc822;linux-fstests@archiver.kernel.org>); Fri, 17 Jun 2022 06:07:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51470 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1381643AbiFQKHU (ORCPT <rfc822;fstests@vger.kernel.org>); Fri, 17 Jun 2022 06:07:20 -0400 Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B860269CEC; Fri, 17 Jun 2022 03:06:56 -0700 (PDT) Received: by mail-wr1-x436.google.com with SMTP id x17so5098505wrg.6; Fri, 17 Jun 2022 03:06:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=47jpAIOuXq9C8yduL/rogZSE3IT97eVSEXgeU3hQDGc=; b=E8LEjur6pUGNeqET9KBTyDi2DDGKJwsVxRgcjPe+MV7DLr6TRNnDUKQjhYI4jlrSw2 4FNvYDWWiZWuNE5sliJEhKO3uQmyekI4foZh+7G2zJ4r6i0keI2utSFvMwClQXnBIRv/ XkRedZDDa8r9xbyYzpjd10+U+5BAwQE9FY9UOrmedNIEijJjhCoNPij/WiFY8bHLLzGA G4TP5dNCd84d+YLNfMqyIFWpfEeoSbqvQCI+UG5Kh3Z00kisfVh0Mogj7qH7t8TpGBkM aKyN8SXzj8UEW8lQI3G8ubHMWBlBqlCr4BAs7qOT3EG73HGRiVmyTISR3AIPflkc+28w gS/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=47jpAIOuXq9C8yduL/rogZSE3IT97eVSEXgeU3hQDGc=; b=gLUmCQLlgABUlV7zkVmHMp0JKteTwf5gQ3hYioxer74xCqd2S6/FKMMeVMSHmwgGan Ql+5k9nMpoCwfVBzfE50QG6tZy8Fnbqd56oE+wN9aKkvq57/1gUR0ulI/lLApxRexvYe WL23SACgD1OuazVSO+Hq1hTuQa6k04CQO5dFaogVaZCF/PGQL0s5XzXNWWM0Bye1q8Jb hP/5Nl6A35hLpiNBGaCsWJ0KXRodU1Uc0CLgbXA25y0pB4hDJuNZSeAInM0fjgyijgUb V63k3Am5TBKtFrqsk5Fdpdn/aY/QIwzJ69l3r3iB6yTxLhVfJw7zPYeEtEKIRp0Nd/2W uuLw== X-Gm-Message-State: AJIora+K0yjwoI3Ls1mcMDrfS6J/Mt/J/NG3/XOLZCTMHe0mHJEpAU39 ZLzK+8vlxJNjfH+LuMHpjWs= X-Google-Smtp-Source: AGRyM1upm3iDDnzGgTzFpwshxYvWBSHaWUDPJPc2blLKHU1q/2yuBwIf7bfTm8BA+PwflkL1RxRgRw== X-Received: by 2002:adf:eb4d:0:b0:218:45b6:8fdb with SMTP id u13-20020adfeb4d000000b0021845b68fdbmr8959402wrn.77.1655460415283; Fri, 17 Jun 2022 03:06:55 -0700 (PDT) Received: from localhost.localdomain ([77.137.66.49]) by smtp.gmail.com with ESMTPSA id m42-20020a05600c3b2a00b003973435c517sm5265534wms.0.2022.06.17.03.06.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jun 2022 03:06:54 -0700 (PDT) From: Amir Goldstein <amir73il@gmail.com> To: "Darrick J . Wong" <djwong@kernel.org> Cc: Leah Rumancik <leah.rumancik@gmail.com>, Luis Chamberlain <mcgrof@kernel.org>, Dave Chinner <david@fromorbit.com>, Christoph Hellwig <hch@lst.de>, Christian Brauner <christian.brauner@ubuntu.com>, linux-xfs@vger.kernel.org, fstests@vger.kernel.org, Dave Chinner <dchinner@redhat.com> Subject: [PATCH 5.10 CANDIDATE 05/11] xfs: check sb_meta_uuid for dabuf buffer recovery Date: Fri, 17 Jun 2022 13:06:35 +0300 Message-Id: <20220617100641.1653164-6-amir73il@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220617100641.1653164-1-amir73il@gmail.com> References: <20220617100641.1653164-1-amir73il@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: <fstests.vger.kernel.org> X-Mailing-List: fstests@vger.kernel.org |
Series |
xfs stable candidate patches for 5.10.y (v5.15+)
|
expand
|
diff --git a/fs/xfs/xfs_buf_item_recover.c b/fs/xfs/xfs_buf_item_recover.c index d44e8b4a3391..1d649462d731 100644 --- a/fs/xfs/xfs_buf_item_recover.c +++ b/fs/xfs/xfs_buf_item_recover.c @@ -805,7 +805,7 @@ xlog_recover_get_buf_lsn( } if (lsn != (xfs_lsn_t)-1) { - if (!uuid_equal(&mp->m_sb.sb_uuid, uuid)) + if (!uuid_equal(&mp->m_sb.sb_meta_uuid, uuid)) goto recover_immediately; return lsn; }