summaryrefslogtreecommitdiffstats
path: root/drivers/video/fb_defio.c
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2012-06-12 16:20:22 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2012-07-31 01:02:44 +0400
commit183fef91cd06ab32c379d217c816bb6607133642 (patch)
tree1685d23b68cb73b947f495ebf6c0afafe8af2776 /drivers/video/fb_defio.c
parent64894cf843278c7b2653a6fac2cd1a697ff930dc (diff)
downloadblackbird-op-linux-183fef91cd06ab32c379d217c816bb6607133642.tar.gz
blackbird-op-linux-183fef91cd06ab32c379d217c816bb6607133642.zip
fb_defio: Push file_update_time() into fb_deferred_io_mkwrite()
CC: Jaya Kumar <jayalk@intworks.biz> Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/video/fb_defio.c')
-rw-r--r--drivers/video/fb_defio.c2
1 files changed, 2 insertions, 0 deletions
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);
OpenPOWER on IntegriCloud