NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/48799
The following reply was made to PR kern/48799; it has been noted by GNATS.
From: "Thomas Schmitt" <scdbackup%gmx.net@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: kern/48799
Date: Sun, 11 May 2014 12:22:32 +0200
--- sys/fs/cd9660/cd9660_vfsops.c.orig 2014-04-16 18:55:18.000000000 +0000
+++ sys/fs/cd9660/cd9660_vfsops.c 2014-05-11 10:02:49.000000000 +0000
@@ -641,8 +641,12 @@ cd9660_sync(struct mount *mp, int waitfo
struct ifid {
ushort ifid_len;
ushort ifid_pad;
- int ifid_ino;
+ ino_t ifid_ino;
+
+#ifdef ISOFS_DBG
long ifid_start;
+#endif
+
};
/* ARGSUSED */
@@ -792,6 +796,7 @@ cd9660_vget_internal(struct mount *mp, i
}
#if 0
+#ifdef ISOFS_DBG
if (isonum_733(isodir->extent) +
isonum_711(isodir->ext_attr_length) != ifhp->ifid_start) {
if (bp != 0)
@@ -801,6 +806,7 @@ cd9660_vget_internal(struct mount *mp, i
ifhp->ifid_start);
return (ESTALE);
}
+#endif /* ISOFS_DBG */
#endif
} else
bp = 0;
@@ -914,7 +920,11 @@ cd9660_vptofh(struct vnode *vp, struct f
memset(&ifh, 0, sizeof(ifh));
ifh.ifid_len = sizeof(struct ifid);
ifh.ifid_ino = ip->i_number;
+
+#ifdef ISOFS_DBG
ifh.ifid_start = ip->iso_start;
+#endif
+
memcpy(fhp, &ifh, sizeof(ifh));
#ifdef ISOFS_DBG
Home |
Main Index |
Thread Index |
Old Index