Module Name: src Committed By: uwe Date: Wed May 27 00:05:22 UTC 2020
Modified Files: src/usr.sbin/puffs/mount_9p: node.c Log Message: puffs9p_node_rename - noderename takes puffs_node, not p9pnode, but this goes undetected b/c pn_data we pass is a pointer to void. >From Nicola Girardi, part of PR/54829. To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 src/usr.sbin/puffs/mount_9p/node.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/usr.sbin/puffs/mount_9p/node.c diff -u src/usr.sbin/puffs/mount_9p/node.c:1.25 src/usr.sbin/puffs/mount_9p/node.c:1.26 --- src/usr.sbin/puffs/mount_9p/node.c:1.25 Tue May 26 22:54:43 2020 +++ src/usr.sbin/puffs/mount_9p/node.c Wed May 27 00:05:22 2020 @@ -1,4 +1,4 @@ -/* $NetBSD: node.c,v 1.25 2020/05/26 22:54:43 uwe Exp $ */ +/* $NetBSD: node.c,v 1.26 2020/05/27 00:05:22 uwe Exp $ */ /* * Copyright (c) 2007 Antti Kantee. All Rights Reserved. @@ -27,7 +27,7 @@ #include <sys/cdefs.h> #ifndef lint -__RCSID("$NetBSD: node.c,v 1.25 2020/05/26 22:54:43 uwe Exp $"); +__RCSID("$NetBSD: node.c,v 1.26 2020/05/27 00:05:22 uwe Exp $"); #endif /* !lint */ #include <assert.h> @@ -586,7 +586,7 @@ puffs9p_node_rename(struct puffs_usermou if (targ) { struct puffs_node *pn_targ = targ; - rv = noderemove(pu, pn_targ->pn_data); + rv = noderemove(pu, pn_targ); if (rv) goto out; }