mm: Make default vm_ops provide ->page_mkwrite handler
authorJan Kara <jack@suse.cz>
Tue, 12 Jun 2012 14:20:29 +0000 (16:20 +0200)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 30 Jul 2012 21:02:48 +0000 (01:02 +0400)
commit4fcf1c6205fcfc7a226a144ae4d83b7f5415cab8
treee0a8ee8640c670123e09a8a041a3ed00c89a0d60
parent41c4d25f78c01ede13efee1f2e979f3f35dd26f6
mm: Make default vm_ops provide ->page_mkwrite handler

Make default vm_ops provide ->page_mkwrite handler. Currently it only updates
file's modification times and gets locked page but later it will also handle
filesystem freezing.

BugLink: https://bugs.launchpad.net/bugs/897421
Tested-by: Kamal Mostafa <kamal@canonical.com>
Tested-by: Peter M. Petrakis <peter.petrakis@canonical.com>
Tested-by: Dann Frazier <dann.frazier@canonical.com>
Tested-by: Massimo Morana <massimo.morana@canonical.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
include/linux/mm.h
mm/filemap.c
mm/filemap_xip.c