Module Name: src Committed By: pooka Date: Fri Jan 7 11:27:53 UTC 2011
Modified Files: src/sys/rump/librump/rumpvfs: rump_vfs.c Log Message: Censor no-longer-relevant flags which may be passed down from somewhere (e.g. an older kernel). We really can't do anything about new flags or flags changing meaning, though. To generate a diff of this commit: cvs rdiff -u -r1.64 -r1.65 src/sys/rump/librump/rumpvfs/rump_vfs.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/rump/librump/rumpvfs/rump_vfs.c diff -u src/sys/rump/librump/rumpvfs/rump_vfs.c:1.64 src/sys/rump/librump/rumpvfs/rump_vfs.c:1.65 --- src/sys/rump/librump/rumpvfs/rump_vfs.c:1.64 Thu Jan 6 10:20:57 2011 +++ src/sys/rump/librump/rumpvfs/rump_vfs.c Fri Jan 7 11:27:53 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: rump_vfs.c,v 1.64 2011/01/06 10:20:57 pooka Exp $ */ +/* $NetBSD: rump_vfs.c,v 1.65 2011/01/07 11:27:53 pooka Exp $ */ /* * Copyright (c) 2008 Antti Kantee. All Rights Reserved. @@ -29,7 +29,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: rump_vfs.c,v 1.64 2011/01/06 10:20:57 pooka Exp $"); +__KERNEL_RCSID(0, "$NetBSD: rump_vfs.c,v 1.65 2011/01/07 11:27:53 pooka Exp $"); #include <sys/param.h> #include <sys/buf.h> @@ -194,7 +194,7 @@ cnp->cn_nameptr = rcn->rcn_path; cnp->cn_nameiop = nameiop; - cnp->cn_flags = flags; + cnp->cn_flags = flags & (MODMASK | PARAMASK); cnp->cn_namelen = namelen; cnp->cn_hash = namei_hash(name, &cp);