mm: Update file times from fault path only if .page_mkwrite is not set
authorJan Kara <jack@suse.cz>
Tue, 12 Jun 2012 14:20:28 +0000 (16:20 +0200)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 30 Jul 2012 21:02:48 +0000 (01:02 +0400)
commit41c4d25f78c01ede13efee1f2e979f3f35dd26f6
tree30eeb0d8beea61b24bda3357997bd288f2bbbd3c
parent14ae417c6faf28b6e8ec60cc2aa0eaa19453a41c
mm: Update file times from fault path only if .page_mkwrite is not set

Filesystems wanting to properly support freezing need to have control
when file_update_time() is called. After pushing file_update_time()
to all relevant .page_mkwrite implementations we can just stop calling
file_update_time() when filesystem implements .page_mkwrite.

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>
mm/memory.c