From patchwork Wed Sep 2 17:00:19 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Darrick J. Wong" X-Patchwork-Id: 11751373 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 2DCB2109B for ; Wed, 2 Sep 2020 17:00:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0C1DE204FD for ; Wed, 2 Sep 2020 17:00:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1599066045; bh=5TBnPOJmm+0HmBQ0PdJBZ3arGLJewAGOBH/ZEfVwIUo=; h=Date:From:To:Cc:Subject:List-ID:From; b=yAVmypmPcL/+mZsdNlFrY6Nmecw5z6dufAanFLOOMqTKqzxnaZXB4dB8FmJcGPWVh kamf0nriPupOjtmDrlIiGPEVwUbFLT4H7wF8cV6FCSOdDQWccp2u4xAIsGmQ5O8UiD Jknm9ulumWhx5pawBVgMRLofPp+sSrqMQmzRLt64= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728310AbgIBRAV (ORCPT ); Wed, 2 Sep 2020 13:00:21 -0400 Received: from mail.kernel.org ([198.145.29.99]:56962 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727028AbgIBRAU (ORCPT ); Wed, 2 Sep 2020 13:00:20 -0400 Received: from localhost (c-67-169-218-210.hsd1.or.comcast.net [67.169.218.210]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 0BCE5208B3; Wed, 2 Sep 2020 17:00:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1599066020; bh=5TBnPOJmm+0HmBQ0PdJBZ3arGLJewAGOBH/ZEfVwIUo=; h=Date:From:To:Cc:Subject:From; b=e6Co5i4digpWyRfPQH8LhZkzjhwpQdGRjBJ8U4/uB+OburtVXSoIbrheLw6LqVwLZ BBtwG19Ln+tnpPlE93pCGqt6gsFIuq67+2oD0WdXeWmOCkiAT8O7IE8Jwrj1AgjamX rzOY0UyunhREWOJ5fC6XTLgjQ4QngUz/Qpx08fSY= Date: Wed, 2 Sep 2020 10:00:19 -0700 From: "Darrick J. Wong" To: Linus Torvalds Cc: "Darrick J. Wong" , linux-fsdevel@vger.kernel.org, linux-xfs@vger.kernel.org, david@fromorbit.com, linux-kernel@vger.kernel.org, sandeen@sandeen.net, hch@lst.de Subject: [GIT PULL] xfs: small fixes for 5.9 Message-ID: <20200902170019.GO6096@magnolia> MIME-Version: 1.0 Content-Disposition: inline Sender: linux-xfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-xfs@vger.kernel.org Hi Linus, Please pull these various corruption fixes that have come in during the past month. The branch merges cleanly with upstream as of a few minutes ago, so please let me know if anything strange happens. --D The following changes since commit 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5: Linux 5.9-rc1 (2020-08-16 13:04:57 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/fs/xfs/xfs-linux.git tags/xfs-5.9-fixes-1 for you to fetch changes up to 125eac243806e021f33a1fdea3687eccbb9f7636: xfs: initialize the shortform attr header padding entry (2020-08-27 08:01:31 -0700) ---------------------------------------------------------------- Fixes for 5.9: - Avoid a log recovery failure for an insert range operation by rolling deferred ops incrementally instead of at the end. - Fix an off-by-one error when calculating log space reservations for anything involving an inode allocation or free. - Fix a broken shortform xattr verifier. - Ensure that the shortform xattr header padding is always initialized to zero. ---------------------------------------------------------------- Brian Foster (2): xfs: finish dfops on every insert range shift iteration xfs: fix off-by-one in inode alloc block reservation calculation Darrick J. Wong (1): xfs: initialize the shortform attr header padding entry Eric Sandeen (1): xfs: fix boundary test in xfs_attr_shortform_verify fs/xfs/libxfs/xfs_attr_leaf.c | 8 +++++--- fs/xfs/libxfs/xfs_ialloc.c | 4 ++-- fs/xfs/libxfs/xfs_trans_space.h | 2 +- fs/xfs/xfs_bmap_util.c | 2 +- 4 files changed, 9 insertions(+), 7 deletions(-)