lkml.org 
[lkml]   [2013]   [Mar]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] nfsd: fix bad offset use
    On Fri, Mar 22, 2013 at 11:18:24AM -0700, Kent Overstreet wrote:
    > vfs_writev() updates the offset argument - but the code then passes the
    > offset to vfs_fsync_range(). Since offset now points to the offset after
    > what was just written, this is probably not what was intended

    Agreed, the original code does look fishy and this fix right to me.

    Reviewed-by: Zach Brown <zab@redhat.com>

    - z


    \
     
     \ /
      Last update: 2013-03-22 20:43    [W:3.007 / U:0.652 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site