CVS commit: src/external/cddl/osnet/sys/sys

"YAMAMOTO Takashi" <[email protected]>
Newsgroups gmane.os.netbsd.devel.cvs
Message-ID <[email protected]>
Module Name:	src
Committed By:	yamt
Date:		Fri Mar 20 12:25:16 UTC 2026

Modified Files:
	src/external/cddl/osnet/sys/sys: vnode.h

Log Message:
zfs: fix file vdev

make solaris compat vn_openat to honor the root vnode specified
by the caller. it's currently only used for vdev_file.c.

this commit fixes "no such pool or dataset" error on zpool create
with files:
```
uma% dd if=/dev/zero of=/tmp/hoge count=100
100+0 records in
100+0 records out
51200 bytes transferred in 0.001 secs (51200000 bytes/sec)
uma% sudo zpool create f /tmp/hoge
cannot create 'f': no such pool or dataset
uma%
```

cf. "file" in "Virtual Devices (vdevs)" in zpool(8).


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/external/cddl/osnet/sys/sys/vnode.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.