diff options
author | Jan Kara <jack@suse.cz> | 2012-06-12 10:20:22 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-07-30 17:02:44 -0400 |
commit | 183fef91cd06ab32c379d217c816bb6607133642 (patch) | |
tree | 1685d23b68cb73b947f495ebf6c0afafe8af2776 /drivers/video/fb_defio.c | |
parent | 64894cf843278c7b2653a6fac2cd1a697ff930dc (diff) |
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.c | 2 |
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, | |||
104 | deferred framebuffer IO. then if userspace touches a page | 104 | deferred framebuffer IO. then if userspace touches a page |
105 | again, we repeat the same scheme */ | 105 | again, we repeat the same scheme */ |
106 | 106 | ||
107 | file_update_time(vma->vm_file); | ||
108 | |||
107 | /* protect against the workqueue changing the page list */ | 109 | /* protect against the workqueue changing the page list */ |
108 | mutex_lock(&fbdefio->lock); | 110 | mutex_lock(&fbdefio->lock); |
109 | 111 | ||