Re: CVS commit: src/sys/fs/sysvbfs

2015-01-02 Thread Christos Zoulas
In article <20150102165102.d42c...@cvs.netbsd.org>, Juergen Hannken-Illjes wrote: > >@@ -336,6 +336,7 @@ sysvbfs_loadvnode(struct mount *mp, stru > } > > bnode = pool_get(&sysvbfs_node_pool, PR_WAITOK); >+ memset(bnode, 0, sizeof(*bnode)); Why don't we have PR_ZERO? christos

Re: CVS commit: src/sys/fs/sysvbfs

2011-01-31 Thread David Holland
On Mon, Jan 31, 2011 at 06:48:51PM +, Nicolas Joly wrote: > Log Message: > In sysvbfs_lookup(), deny last component write operation on a > read-only mount. > Fix PR/44302: sysvbfs allows unlink on fs mounted MNT_RDONLY. Is there any reason these checks can't be done above the FS? -- Davi