Skip to content

Commit

Permalink
fb_defio: Push file_update_time() into fb_deferred_io_mkwrite()
Browse files Browse the repository at this point in the history
CC: Jaya Kumar <jayalk@intworks.biz>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
  • Loading branch information
Jan Kara authored and Al Viro committed Jul 30, 2012
1 parent 64894cf commit 183fef9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/video/fb_defio.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 183fef9

Please sign in to comment.