vfs: move the generic write and copy checks out of mm
authorDarrick J. Wong <darrick.wong@oracle.com>
Thu, 15 Oct 2020 16:21:17 +0000 (09:21 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Thu, 15 Oct 2020 16:50:01 +0000 (09:50 -0700)
commit407e9c63ee571f44a2dfb0828fc30daa02abb6dc
tree2f07ac1839715c764cc308d443bd4dde9cda65eb
parent1b2c54d63cde7e8cf15aa6319aba168d81c7e364
vfs: move the generic write and copy checks out of mm

The generic write check helpers also don't have much to do with the page
cache, so move them to the vfs.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/read_write.c
include/linux/fs.h
mm/filemap.c