lkml.org 
[lkml]   [2013]   [Jul]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 10/21] earlycpio.c: Fix the confusing comment of find_cpio_data().
On Fri, Jul 19, 2013 at 03:59:23PM +0800, Tang Chen wrote:
> - * @offset: When a matching file is found, this is the offset to the
> - * beginning of the cpio. It can be used to iterate through
> - * the cpio to find all files inside of a directory path
> + * @offset: When a matching file is found, this is the offset from the
> + * beginning of the cpio to the beginning of the next file, not the
> + * matching file itself. It can be used to iterate through the cpio
> + * to find all files inside of a directory path

Nicely spotted. I think we can go further and rename it to @nextoff.

Thanks.

--
tejun


\
 
 \ /
  Last update: 2013-07-23 23:01    [W:0.415 / U:1.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site