Subject: CVS commit: src/usr.sbin/puffs/mount_9p
To: None <source-changes@NetBSD.org>
From: Antti Kantee <pooka@netbsd.org>
List: source-changes
Date: 05/06/2007 22:17:50
Module Name:	src
Committed By:	pooka
Date:		Sun May  6 22:17:50 UTC 2007

Modified Files:
	src/usr.sbin/puffs/mount_9p: nineproto.c ninepuffs.h node.c

Log Message:
If mode is set, the uppermost byte specifying the type must be
correctly, otherwise the file server will attempt a conversion.
Specifically, if the directory bit is not set when changing the
permissions for a directory, a conversion from directory to regular
file would be attempted and naturally it being unsupported the
whole chmod would fail.  So supply the file type as part of the
file mode.


To generate a diff of this commit:
cvs rdiff -r1.4 -r1.5 src/usr.sbin/puffs/mount_9p/nineproto.c \
    src/usr.sbin/puffs/mount_9p/ninepuffs.h
cvs rdiff -r1.5 -r1.6 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.