Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F160160241
D53598.id165880.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
523 B
Referenced Files
None
Subscribers
None
D53598.id165880.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 (vap->va_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
Mon, Jun 22, 8:19 PM (2 h, 26 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34209540
Default Alt Text
D53598.id165880.diff (523 B)
Attached To
Mode
D53598: cd9660: Unbreak symbolic links
Attached
Detach File
Event Timeline
Log In to Comment