patch-2.1.51 linux/include/linux/nfsd/nfsfh.h

Next file: linux/include/linux/proc_fs.h
Previous file: linux/include/linux/fs.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.50/linux/include/linux/nfsd/nfsfh.h linux/include/linux/nfsd/nfsfh.h
@@ -137,6 +137,7 @@
 	if (fhp->fh_dverified) {
 		fh_unlock(fhp);
 		dput(fhp->fh_handle.fh_dentry);
+		fhp->fh_dverified = 0;
 	}
 }
 #else
@@ -159,6 +160,7 @@
 	} else {
 		fh_unlock(fhp);
 		dput(dentry);
+		fhp->fh_dverified = 0;
 	}
 }
 #endif

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov