Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

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



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.




Home | Main Index | Thread Index | Old Index