lkml.org 
[lkml]   [2003]   [Apr]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] struct loop_info
Andries.Brouwer@cwi.nl wrote:
> The second part of this patch adds a new struct loop_info2
> in <linux/loop.h> identical to the old struct but with
> unsigned long long instead of dev_t.
> Now kernel and userspace use the same struct, simplifying life.
>
> Unfortunately for compatibility some translation between
> loop_info and loop_info2 is required.

Andries, if you are going to define new struct loop_info2, please change
lo_offset to 64 bits, and add new 64 bit lo_size element. Specifying offset
without size is little bit silly.

Regards,
Jari Ruusu <jari.ruusu@pp.inet.fi>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:34    [W:0.034 / U:1.164 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site