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>
This commit is contained in:
Jan Kara 2012-06-12 16:20:22 +02:00 committed by Al Viro
parent 64894cf843
commit 183fef91cd
1 changed files with 2 additions and 0 deletions

View 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 deferred framebuffer IO. then if userspace touches a page
again, we repeat the same scheme */ again, we repeat the same scheme */
file_update_time(vma->vm_file);
/* protect against the workqueue changing the page list */ /* protect against the workqueue changing the page list */
mutex_lock(&fbdefio->lock); mutex_lock(&fbdefio->lock);