From: Jan Kara Date: Tue, 12 Jun 2012 14:20:22 +0000 (+0200) Subject: fb_defio: Push file_update_time() into fb_deferred_io_mkwrite() X-Git-Tag: v3.6-rc1~18^2~28 X-Git-Url: http://pileus.org/git/?a=commitdiff_plain;h=183fef91cd06ab32c379d217c816bb6607133642;p=~andy%2Flinux fb_defio: Push file_update_time() into fb_deferred_io_mkwrite() CC: Jaya Kumar Signed-off-by: Jan Kara Signed-off-by: Al Viro --- diff --git a/drivers/video/fb_defio.c b/drivers/video/fb_defio.c index 1ddeb11659d..64cda560c48 100644 --- a/drivers/video/fb_defio.c +++ b/drivers/video/fb_defio.c @@ -104,6 +104,8 @@ static int fb_deferred_io_mkwrite(struct vm_area_struct *vma, deferred framebuffer IO. then if userspace touches a page again, we repeat the same scheme */ + file_update_time(vma->vm_file); + /* protect against the workqueue changing the page list */ mutex_lock(&fbdefio->lock);