Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F148257745
D53598.1786017419.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
521 B
Referenced Files
None
Subscribers
None
D53598.1786017419.diff
View Options
diff --git a/sys/fs/cd9660/cd9660_vnops.c b/sys/fs/cd9660/cd9660_vnops.c
--- a/sys/fs/cd9660/cd9660_vnops.c
+++ b/sys/fs/cd9660/cd9660_vnops.c
@@ -193,8 +193,8 @@
vap->va_ctime = ip->inode.iso_ctime;
vap->va_rdev = VN_ISDEV(vp) ? ip->inode.iso_rdev : NODEV;
- vap->va_size = (u_quad_t) ip->i_size;
- if (ip->i_size == 0 && (vap->va_mode & S_IFMT) == S_IFLNK) {
+ vap->va_size = ip->i_size;
+ if (ip->i_size == 0 && vp->v_type == VLNK) {
struct vop_readlink_args rdlnk;
struct iovec aiov;
struct uio auio;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Aug 6, 11:56 AM (26 m, 26 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29358328
Default Alt Text
D53598.1786017419.diff (521 B)
Attached To
Mode
D53598: cd9660: Unbreak symbolic links
Attached
Detach File
Event Timeline
Log In to Comment