Re: [PATCH] struct loop_info

From: Jari Ruusu (jari.ruusu@pp.inet.fi)
Date: Fri Apr 18 2003 - 08:24:34 EST


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/



This archive was generated by hypermail 2b29 : Wed Apr 23 2003 - 22:00:23 EST