>>>>> " " == Maneesh Soni <maneesh@in.ibm.com> writes:
> Hi Janet,
> Following patch should fix this problem. I think Trond can say
> whether it is correct or not. In my opinion rpc_rmdir should
> test for negative dentry after lookup_hash() returns, like
> rpc_unlink() does.
No. You are 'fixing' a symptom of a more fundamental
bug/misunderstanding: lookup_path("") returns no error, and is
sometimes causing us to remove the top level directory.
See the 2-line patch I posted yesterday. It should fix the Oops you
are reporting.
Cheers,
Trond
-
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/
This archive was generated by hypermail 2b29 : Fri Feb 28 2003 - 22:00:20 EST