From 511130787fe28fb9da8b2e64c39d0bc3742b9eff Mon Sep 17 00:00:00 2001 From: kib Date: Sun, 4 Jan 2015 00:46:06 +0000 Subject: MFC r276007: Handle MAKEENTRY cnp flag in the VOP_CREATE(). --- sys/fs/msdosfs/msdosfs_vnops.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/fs/msdosfs') diff --git a/sys/fs/msdosfs/msdosfs_vnops.c b/sys/fs/msdosfs/msdosfs_vnops.c index a60fa13..3294656 100644 --- a/sys/fs/msdosfs/msdosfs_vnops.c +++ b/sys/fs/msdosfs/msdosfs_vnops.c @@ -184,6 +184,8 @@ msdosfs_create(ap) if (error) goto bad; *ap->a_vpp = DETOV(dep); + if ((cnp->cn_flags & MAKEENTRY) != 0) + cache_enter(ap->a_dvp, *ap->a_vpp, cnp); return (0); bad: -- cgit v1.1