Re: [PATCH] struct loop_info

Jari Ruusu (jari.ruusu@pp.inet.fi)
Fri, 18 Apr 2003 16:24:34 +0300


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/