From patchwork Tue Nov 12 00:34:50 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ira Weiny X-Patchwork-Id: 11238449 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 0FB0015AB for ; Tue, 12 Nov 2019 00:35:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E3BCC21D7F for ; Tue, 12 Nov 2019 00:35:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727059AbfKLAe6 (ORCPT ); Mon, 11 Nov 2019 19:34:58 -0500 Received: from mga07.intel.com ([134.134.136.100]:45567 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726953AbfKLAe6 (ORCPT ); Mon, 11 Nov 2019 19:34:58 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Nov 2019 16:34:57 -0800 X-IronPort-AV: E=Sophos;i="5.68,294,1569308400"; d="scan'208";a="229127871" Received: from iweiny-desk2.sc.intel.com (HELO localhost) ([10.3.52.157]) by fmsmga004-auth.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Nov 2019 16:34:56 -0800 From: ira.weiny@intel.com To: Alexander Viro , Andrew Morton Cc: Chris Mason , Josef Bacik , David Sterba , Jaegeuk Kim , Chao Yu , linux-xfs@vger.kernel.org, linux-fsdevel@vger.kernel.org, Trond Myklebust , Anna Schumaker , linux-btrfs@vger.kernel.org, linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, linux-nfs@vger.kernel.org, linux-mm@kvack.org, Ira Weiny Subject: [PATCH 0/2] Move swap functions out of address space operations Date: Mon, 11 Nov 2019 16:34:50 -0800 Message-Id: <20191112003452.4756-1-ira.weiny@intel.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org From: Ira Weiny As suggested by Jan Kara, move swap_[de]activate to file_operations to simplify address space operations for coming changes. I'm not sure if this should go through Al Viro or Andrew Morton so I'm sending it to both of you. Sorry if this is a problem. Let me know if there is something else I should do. Ira Weiny (2): fs: Clean up mapping variable fs: Move swap_[de]activate to file_operations fs/btrfs/inode.c | 4 +- fs/f2fs/data.c | 123 -------------------------------------------- fs/f2fs/file.c | 122 +++++++++++++++++++++++++++++++++++++++++++ fs/iomap/swapfile.c | 3 +- fs/nfs/file.c | 4 +- fs/xfs/xfs_aops.c | 13 ----- fs/xfs/xfs_file.c | 12 +++++ include/linux/fs.h | 10 ++-- mm/swapfile.c | 12 ++--- 9 files changed, 149 insertions(+), 154 deletions(-)