Received: by 10.192.165.156 with SMTP id m28csp2383352imm; Thu, 12 Apr 2018 13:22:58 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+w722lPNUdMocAIJkG/fxIkhCcq8FgCXe5dZZmlE8BbTqICxnMpgcEkFwE3O1olmJphh2M X-Received: by 2002:a17:902:5a42:: with SMTP id f2-v6mr2491439plm.85.1523564578778; Thu, 12 Apr 2018 13:22:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523564578; cv=none; d=google.com; s=arc-20160816; b=iKX8h0y/MWxZyJRvB+Bfw0T4q2QaW3e8LdzUcv5W4YaeTFr0rbmempMvpmcVlRO/SM vvfU1glN7i29Vfon6mX4gL83OkiaXK5bPxFc7JcFlyXYv9ycWTBqNZRM54yFXvWYUST7 qj4f1QWRVnScvhX7JGHfbec9lFalbS7WOYV8XYGb9hq2abcCsK5LXm33x5M/SasQ1o3l PXleaPGcpIIlujOSATu2ks7NcpAe960zwKJg/QZ9X/AgkywZARi88NQLG1gJcBUrDEWF 9RAGLxCmNZrDN5x0YujOEdXY2zdQoD4h9TMFMDTHD6p2af6bYrxJASuBuv7ndkVNRKMG Jj6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:subject:cc:to:from:date:dmarc-filter :arc-authentication-results; bh=T0OHpphEBO5N24q9M2MoqrqAwDyZ2NprBlUO4/ZuPjU=; b=JX5YmPweJgBymzot4MGV/VyUXh5c6w60YNZ34T5nb6r6ZuoCOnDvdna19Zwn3AXOBQ Cz9dHjXrz3Y5pGoGHAkCRMcbLULyHZAwgAq2eQ5+crjAjxg7SuCkEJN/3PyQv8ALVd50 rOw0pWfvm6CfunN+3G/QhKRTozOnporGzwn5+NrPrl/06o1ILQQPzJxWlFeRb4RkmK2/ tEYwNua2R6FeCxq6AgCZ9UCLX5tfVtSBQbV+xebZ6IAqGyGMrhaazOOr+WNk5tOMxJ5K cghZmyx4bB1tEkja0epsopazqH0rEr3bVS0hMG70BjVEtQ4Bwu3vPQOLmZnKxtz3RrkZ 05GA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p1-v6si3934435plb.355.2018.04.12.13.22.44; Thu, 12 Apr 2018 13:22:58 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752563AbeDLURQ (ORCPT + 99 others); Thu, 12 Apr 2018 16:17:16 -0400 Received: from mail.kernel.org ([198.145.29.99]:41250 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752488AbeDLURM (ORCPT ); Thu, 12 Apr 2018 16:17:12 -0400 Received: from localhost (c-67-169-218-210.hsd1.or.comcast.net [67.169.218.210]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 3F1FD21777; Thu, 12 Apr 2018 20:17:12 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3F1FD21777 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=djwong@kernel.org Date: Thu, 12 Apr 2018 13:17:11 -0700 From: "Darrick J. Wong" To: Linus Torvalds Cc: "Darrick J. Wong" , Linux Kernel Mailing List , linux-xfs , Eric Sandeen Subject: [GIT PULL] xfs: cleanups & fixes for 4.17 Message-ID: <20180412201711.GA32099@magnolia> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Linus, Here's the second round of patches for XFS for 4.17. Most of these are code cleanups, but there are a couple of notable use-after-free bug fixes. This series has been run through a full xfstests run over the week and through a quick xfstests run against this morning's master, with no major failures reported. Let me know if there are any merge problems. --D The following changes since commit dc1baa715bbfbb1902da942d06497e79b40e7bc7: xfs: do not log/recover swapext extent owner changes for deleted inodes (2018-03-29 10:19:15 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/fs/xfs/xfs-linux.git tags/xfs-4.17-merge-4 for you to fetch changes up to 8c81dd46ef3c416b3b95e3020fb90dbd44e6140b: Force log to disk before reading the AGF during a fstrim (2018-04-10 22:39:04 -0700) ---------------------------------------------------------------- Changes since last update: - Cleanup unnecessary function call parameters - Fix a use-after-free bug when aborting logging intents - Refactor filestreams state data to avoid use-after-free bug - Fix incorrect removal of cow extents when truncating extended attributes. - Refactor open-coded __set_page_dirty in favor of using vfs function. - Fix a deadlock when fstrim and fs shutdown race. ---------------------------------------------------------------- Carlos Maiolino (1): Force log to disk before reading the AGF during a fstrim Chandan Rajendra (1): xfs: Remove "committed" argument of xfs_dir_ialloc Christoph Hellwig (1): xfs: remove filestream item xfs_inode reference Darrick J. Wong (1): xfs: only cancel cow blocks when truncating the data fork Dave Chinner (1): xfs: fix intent use-after-free on abort Eric Sandeen (1): xfs: non-scrub - remove unused function parameters Matthew Wilcox (1): Export __set_page_dirty fs/buffer.c | 3 ++- fs/xfs/libxfs/xfs_alloc.c | 6 ++---- fs/xfs/libxfs/xfs_alloc.h | 5 ++--- fs/xfs/libxfs/xfs_bmap.c | 3 +-- fs/xfs/libxfs/xfs_bmap.h | 2 +- fs/xfs/libxfs/xfs_btree.c | 2 -- fs/xfs/libxfs/xfs_btree.h | 6 ++---- fs/xfs/libxfs/xfs_ialloc.c | 2 +- fs/xfs/libxfs/xfs_ialloc_btree.c | 2 +- fs/xfs/libxfs/xfs_refcount.c | 22 ++++++++------------- fs/xfs/libxfs/xfs_refcount_btree.c | 5 ++--- fs/xfs/libxfs/xfs_refcount_btree.h | 3 +-- fs/xfs/libxfs/xfs_rmap.c | 3 +-- fs/xfs/libxfs/xfs_rmap_btree.c | 5 ++--- fs/xfs/libxfs/xfs_rmap_btree.h | 2 +- fs/xfs/libxfs/xfs_sb.c | 10 ++++------ fs/xfs/libxfs/xfs_trans_resv.c | 10 ++++------ fs/xfs/xfs_aops.c | 15 ++------------- fs/xfs/xfs_bmap_item.c | 39 +++++++++++++++++++------------------- fs/xfs/xfs_bmap_util.c | 3 +-- fs/xfs/xfs_buf.c | 1 - fs/xfs/xfs_buf.h | 2 +- fs/xfs/xfs_discard.c | 14 +++++++------- fs/xfs/xfs_extfree_item.c | 38 ++++++++++++++++++------------------- fs/xfs/xfs_filestream.c | 21 ++++++++++---------- fs/xfs/xfs_inode.c | 31 ++++++++++++------------------ fs/xfs/xfs_inode.h | 6 +++--- fs/xfs/xfs_iops.c | 2 +- fs/xfs/xfs_log.c | 1 - fs/xfs/xfs_log.h | 3 +-- fs/xfs/xfs_log_cil.c | 2 +- fs/xfs/xfs_mru_cache.c | 8 +++++--- fs/xfs/xfs_mru_cache.h | 8 ++++---- fs/xfs/xfs_qm.c | 4 +--- fs/xfs/xfs_refcount_item.c | 39 +++++++++++++++++++------------------- fs/xfs/xfs_rmap_item.c | 38 ++++++++++++++++++------------------- fs/xfs/xfs_super.c | 13 ++++++------- fs/xfs/xfs_symlink.c | 2 +- fs/xfs/xfs_trace.h | 14 +++++++------- include/linux/mm.h | 1 + 40 files changed, 177 insertions(+), 219 deletions(-)