Up to [cvs.NetBSD.org] / src / sys / fs / msdosfs
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: wrstuden-fixsa-base
Revision 1.34.2.2 / (download) - annotate - [select for diffs], Fri Feb 1 14:50:26 2008 UTC (16 years, 2 months ago) by riz
Branch: netbsd-4
CVS Tags: wrstuden-fixsa-newbase,
wrstuden-fixsa-base
Changes since 1.34.2.1: +44 -24
lines
Diff to previous 1.34.2.1 (colored) to branchpoint 1.34 (colored) next main 1.35 (colored)
Pull up following revision(s) (requested by pooka in ticket #1007): sys/fs/msdosfs/msdosfs_vnops.c: revision 1.43 Fix a problem noticed by Reinoud: the fs would try to release an unlocked vnode when trying to rename a directory. The fix was to shuffle some bits around and #pray. The rename routine actually needs a very very major wide-angle whopping: * it takes locks out-of-order * it deals with references from SAVESTART lookups in interesting ways * I doubt there is any guarantee for correct operation if there are multiple concurrent accesses * the error branches might just as well call panic() directly