[PATCH V2 0/2] Move swap functions out of address space operations

ira.weiny
2019-11-13T00:42:54Z

From: Ira Weiny <ira.weiny@intel.com>

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/file.c | 341 ++++++++++++++++++++++++++++++++++++++++++++
fs/btrfs/inode.c | 340 -------------------------------------------
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 +-
10 files changed, 488 insertions(+), 492 deletions(-)

--
2.21.0