Re: [PATCH] for lost mail due to NFS cache/locking non-atomicity

Linus Torvalds (torvalds@transmeta.com)
Tue, 1 Dec 1998 20:02:13 -0800 (PST)


On Tue, 1 Dec 1998, Linus Torvalds wrote:
>
> There's a pre-131-2 patch there on ftp.kernel.org in the testing
> directory.

Oh, btw, I do know that "rmdir()" over NFS is currently broken as of
pre-131-2 - no need to tell me. There are two places in "nfs_rmdir()" that
do

if (dentry->d_count > 1)
...

and because the new code has to lock down the dentry to make sure the
inode doesn't go away from underneath it, the "1" should be a "2" due to
the magic extra reference count. That's the easy fix for pre-131-2, but
I'm looking into making the whole issue go away if at all possible rather
than just fixing up a magic constant.

Linus

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