On 07/24/2013 04:02 AM, Tejun Heo wrote:
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 dire
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 match
The comments of find_cpio_data() says:
* @offset: When a matching file is found, this is the offset to the
* beginning of the cpio. ..
But according to the code,
dptr = PTR_ALIGN(p + ch[C_NAMESIZE], 4);
nptr = PTR_ALIGN(dptr + ch[C_FILESIZE], 4);
*offset = (long)npt
3 matches
Mail list logo