lkml.org 
[lkml]   [2012]   [Apr]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 01/27] fb_defio: Push file_update_time() into fb_deferred_io_mkwrite()
    Date
    CC: Jaya Kumar <jayalk@intworks.biz>
    Signed-off-by: Jan Kara <jack@suse.cz>
    ---
    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 c27e153..7a09c06 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);

    --
    1.7.1


    \
     
     \ /
      Last update: 2012-04-16 18:19    [W:0.020 / U:34.792 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site