[V3,0/3] Move swap functions out of address space operations
mbox series

Message ID 20191129163300.14749-1-ira.weiny@intel.com
Headers show
Series
  • Move swap functions out of address space operations
Related show

Message

Ira Weiny Nov. 29, 2019, 4:32 p.m. UTC
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.

For this version (V3):
	1) updated to the latest linux-next
	2) added documentation patch to the series
	3) add reviews/acks
	4) fixed up a slight conflict in btrfs pointed out by David

Ira Weiny (3):
  fs: Clean up mapping variable
  fs: Move swap_[de]activate to file_operations
  Documentation/fs: Move swap_[de]activate() to file_operations

 Documentation/filesystems/vfs.rst |  24 +--
 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 +-
 11 files changed, 500 insertions(+), 504 deletions(-)