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:
@@ -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);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user