iomap: return VM_FAULT_* codes from iomap_page_mkwrite
authorChristoph Hellwig <hch@lst.de>
Tue, 29 Aug 2017 17:08:41 +0000 (10:08 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Fri, 1 Sep 2017 17:55:30 +0000 (10:55 -0700)
commite7647fb49167809502724eb3c402cea77716fc67
tree662b31240fc64d1191df2a4aea6b8d3ff2008a6f
parent2dd3d709fc4338681a3aa61658122fa8faa5a437
iomap: return VM_FAULT_* codes from iomap_page_mkwrite

All callers will need the VM_FAULT_* flags, so convert in the helper.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Ross Zwisler <ross.zwisler@linux.intel.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/iomap.c
fs/xfs/xfs_file.c