diff options
author | Jan Kara <jack@suse.cz> | 2012-06-12 16:20:22 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-07-31 01:02:44 +0400 |
commit | 183fef91cd06ab32c379d217c816bb6607133642 (patch) | |
tree | 1685d23b68cb73b947f495ebf6c0afafe8af2776 /drivers/video/fb_defio.c | |
parent | 64894cf843278c7b2653a6fac2cd1a697ff930dc (diff) | |
download | linux-3.10-183fef91cd06ab32c379d217c816bb6607133642.tar.gz linux-3.10-183fef91cd06ab32c379d217c816bb6607133642.tar.bz2 linux-3.10-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.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); |