Page MenuHomeFreeBSD

D43089.diff
No OneTemporary

D43089.diff

diff --git a/sys/ufs/ufs/ufs_vnops.c b/sys/ufs/ufs/ufs_vnops.c
--- a/sys/ufs/ufs/ufs_vnops.c
+++ b/sys/ufs/ufs/ufs_vnops.c
@@ -2417,8 +2417,10 @@
if (uio->uio_offset < 0)
return (EINVAL);
ip = VTOI(vp);
- if (ip->i_effnlink == 0)
+ if (ip->i_effnlink == 0) {
+ *ap->a_eofflag = 1;
return (0);
+ }
if (ap->a_ncookies != NULL) {
if (uio->uio_resid < 0)
ncookies = 0;

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 9, 1:37 PM (21 h, 38 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14561180
Default Alt Text
D43089.diff (386 B)

Event Timeline