fb_defio: Push file_update_time() into fb_deferred_io_mkwrite()
authorJan Kara <jack@suse.cz>
Tue, 12 Jun 2012 14:20:22 +0000 (16:20 +0200)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 30 Jul 2012 21:02:44 +0000 (01:02 +0400)
CC: Jaya Kumar <jayalk@intworks.biz>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
drivers/video/fb_defio.c

index 1ddeb11659d4db9e0023f07d98e5c7c189e97535..64cda560c488358c9205d66e064657bd6ba7203e 100644 (file)
@@ -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);