--- old/fs/nfsd/vfs.c Sun Aug 11 23:08:03 2002
+++ new/fs/nfsd/vfs.c Sun Aug 11 23:08:24 2002
@@ -1329,6 +1329,9 @@ nfsd_unlink(struct svc_rqst *rqstp, stru
goto out;
}
+ if (!type)
+ type = rdentry->d_inode->i_mode & S_IFMT;
+
if (type != S_IFDIR) { /* It's UNLINK */
#ifdef MSNFS
if ((fhp->fh_export->ex_flags & NFSEXP_MSNFS) &&
-
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/