Re: panic - Attempting to free lock with active block list

From: Jan-Frode Myklebust
Date: Thu Jan 06 2005 - 10:31:52 EST


On Wed, Jan 05, 2005 at 10:54:03PM +0100, Trond Myklebust wrote:
>
> Looking at the NFS code, I can attempt a wild guess about what may be
> happening: there may be a race when pressing ^C in the middle of a
> blocking NFS lock RPC call, and if so, the following patch will fix it.


A whopping 9 hours of uptime now :) So the one-liner patch seems to have
fixed it.

Thanks!

> - posix_lock_file(filp, fl);
> + posix_lock_file_wait(filp, fl);


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