From patchwork Sun Jun 19 04:14:21 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Darrick J. Wong" X-Patchwork-Id: 12886542 Return-Path: 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 0B8A0C433EF for ; Sun, 19 Jun 2022 04:14:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231950AbiFSEO1 (ORCPT ); Sun, 19 Jun 2022 00:14:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51656 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229639AbiFSEOZ (ORCPT ); Sun, 19 Jun 2022 00:14:25 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 136D064EE; Sat, 18 Jun 2022 21:14:25 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 786EB60F54; Sun, 19 Jun 2022 04:14:22 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CBE5FC34114; Sun, 19 Jun 2022 04:14:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1655612061; bh=8swXHtNtUIz24MU/iY0uao3YyLZF/bZ9wAlFbPV4RuM=; h=Date:From:To:Cc:Subject:From; b=m4+JP5b57zGUQMLnlvBtWuCVqRlR32plZm9J5zxFcEJizx2m/Lk7UyruibZ71bVqR hhez7SE55eiUt8vpqfnh92gw81Zfb31HjY9FiuuSeS21lyhNz6JRR1t10h1MwGUMJC cr3J+1IklelyDm3fxXj6r7vWPDul292Lq82JSumvi0G8VolF4Dl6l8f+kkaEKnpEK4 S8L6/pHzdayligFG1NcfZXz9NxNqRCe+VTmnag3zXm8MlR6IaWYcNdG7SKRa/4ycap coBO6v/Ml1dDCzm3xHBeH3X84W2zanc+gqTXnbHPNzb2LBuV4ai3AcBOeILwJ5QMh0 aOdSmnj6K9A9w== Date: Sat, 18 Jun 2022 21:14:21 -0700 From: "Darrick J. Wong" To: Linus Torvalds Cc: linux-fsdevel@vger.kernel.org, linux-xfs@vger.kernel.org, david@fromorbit.com, linux-kernel@vger.kernel.org, sandeen@sandeen.net, hch@lst.de, fstests Subject: [GIT PULL] xfs: bug fixes for 5.19-rc3 Message-ID: MIME-Version: 1.0 Content-Disposition: inline Precedence: bulk List-ID: X-Mailing-List: fstests@vger.kernel.org Hi Linus, Please pull this branch containing bug fixes for XFS for 5.19-rc3. There's not a whole lot this time around (I'm still on vacation) but here are some important fixes for new features merged in -rc1. As usual, I did a test-merge with upstream master as of a few minutes ago, and it completed flawlessly. Please let me know if you encounter any problems. --D The following changes since commit b13baccc3850ca8b8cccbf8ed9912dbaa0fdf7f3: Linux 5.19-rc2 (2022-06-12 16:11:37 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/fs/xfs/xfs-linux.git tags/xfs-5.19-fixes-1 for you to fetch changes up to e89ab76d7e2564c65986add3d634cc5cf5bacf14: xfs: preserve DIFLAG2_NREXT64 when setting other inode attributes (2022-06-15 23:13:33 -0700) ---------------------------------------------------------------- Fixes for 5.19-rc3: - Fix a bug where inode flag changes would accidentally drop nrext64. - Fix a race condition when toggling LARP mode. ---------------------------------------------------------------- Darrick J. Wong (3): xfs: fix TOCTOU race involving the new logged xattrs control knob xfs: fix variable state usage xfs: preserve DIFLAG2_NREXT64 when setting other inode attributes fs/xfs/libxfs/xfs_attr.c | 9 +++++---- fs/xfs/libxfs/xfs_attr.h | 12 +----------- fs/xfs/libxfs/xfs_attr_leaf.c | 2 +- fs/xfs/libxfs/xfs_da_btree.h | 4 +++- fs/xfs/xfs_attr_item.c | 15 +++++++++------ fs/xfs/xfs_ioctl.c | 3 ++- fs/xfs/xfs_xattr.c | 17 ++++++++++++++++- 7 files changed, 37 insertions(+), 25 deletions(-)