[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: announce: linux-int-2.4.3.1-hvr3
hello,
On Mon, 9 Apr 2001, Jari Ruusu wrote:
> Below is part of your patch, pay particular attention to line 348.
>
> Regards,
> Jari Ruusu <jari.ruusu@pp.inet.fi>
>
>
> @@ -258,6 +280,12 @@
> lo->lo_device);
> }
>
> +static inline unsigned long loop_get_iv(struct loop_device *lo,
> + unsigned long sector)
> +{
> + return sector - (lo->lo_offset >> IV_SECTOR_BITS);
> ^^^^^^ LINE 348 - CORRUPTION ?
> +}
> +
> static int lo_send(struct loop_device *lo, struct buffer_head *bh, int bsize,
> loff_t pos)
> {
> @@ -275,7 +303,7 @@
sorry, I don't see your point...
the return value is supposed to be the sector address minus the offset
expressed in sectors...
greetings,
--
Herbert Valerio Riedel / Finger hvr@gnu.org for GnuPG Public Key
GnuPG Key Fingerprint: AC2A CD57 A5C8 A1CB 0A18 DA95 CB0B DB23 60B6 16F5
Linux-crypto: cryptography in and on the Linux system
Archive: http://mail.nl.linux.org/linux-crypto/