On Sat, 3 Mar 2001, Jens Axboe wrote:

> On Sat, Mar 03 2001, [EMAIL PROTECTED] wrote:
> > 
> > I have an encrypted filesystem mounted over loopback that I created under
> > a 2.2.16 kernel. (Using AES, 128 bit key.) Works fine in 2.2.16. Sort of
> > works under the unpatched 2.4 series. (Mounts okay, but hangs the system
> > on random blocks.)
> > 
> > Under various 2.4 kernels with Jens' patched, the filesystem fails to
> > mount. I've tried 2.4.2-loop6, 2.4.2-ac6, and 2.4.2-ac8. All give the same
> > result. 
> 
> Look for the patch I posted yesterday (hint: just remove these two
> lines from loop_end_io_transfer)
> 
>                if (atomic_dec_and_test(&lo->lo_pending))
>                        up(&lo->lo_bh_mutex);

Uhh... And what will compensate for atomic_inc() in loop_make_request() in
case of loop over block device?
                                                        Cheers,
                                                                Al

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to