On Mon, Apr 18, 2016 at 11:35:33PM +0200, Jan Kara wrote: > dax_do_io() is calling filemap_write_and_wait() if DIO_LOCKING flags is > set. Presumably this was copied over from direct IO code. However DAX > inodes have no pagecache pages to write so the call is pointless. Remove > it. > > Signed-off-by: Jan Kara <jack@xxxxxxx> Reviewed-by: Ross Zwisler <ross.zwisler@xxxxxxxxxxxxxxx> -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>