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-Url: http://git.lede-project.org./?a=commitdiff_plain;h=183fef91cd06ab32c379d217c816bb6607133642;p=openwrt%2Fstaging%2Fblogic.git 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 1ddeb11659d4..64cda560c488 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);