Merge tag 'vfs-5.10-merge-1' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux
authorLinus Torvalds <torvalds@linux-foundation.org>
Fri, 23 Oct 2020 18:33:41 +0000 (11:33 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 23 Oct 2020 18:33:41 +0000 (11:33 -0700)
Pull clone/dedupe/remap code refactoring from Darrick Wong:
 "Move the generic file range remap (aka reflink and dedupe) functions
  out of mm/filemap.c and fs/read_write.c and into fs/remap_range.c to
  reduce clutter in the first two files"

* tag 'vfs-5.10-merge-1' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux:
  vfs: move the generic write and copy checks out of mm
  vfs: move the remap range helpers to remap_range.c
  vfs: move generic_remap_checks out of mm

1  2 
fs/Makefile
fs/read_write.c
include/linux/fs.h
mm/filemap.c

diff --cc fs/Makefile
index 7bb2a05fda1f18cf7f20ba960bbecd0a0d32e1c0,7173350739c5f6303662cbfa6731332a96c289e4..999d1a23f036c9f96a06e056d333e2e3832cdc37
@@@ -14,7 -14,7 +14,7 @@@ obj-y :=      open.o read_write.o file_table
                pnode.o splice.o sync.o utimes.o d_path.o \
                stack.o fs_struct.o statfs.o fs_pin.o nsfs.o \
                fs_types.o fs_context.o fs_parser.o fsopen.o init.o \
-               kernel_read_file.o
 -              remap_range.o
++              kernel_read_file.o remap_range.o
  
  ifeq ($(CONFIG_BLOCK),y)
  obj-y +=      buffer.o block_dev.o direct-io.o mpage.o
diff --cc fs/read_write.c
Simple merge
Simple merge
diff --cc mm/filemap.c
Simple merge