c_tapea and c_firstrec are used for TS_TAPE blocks, so convert them

for the old (4.4-lite through FreeBSD 4.x and *BSD) format.  It looks
like they aren't used for TS_INODE, but conversion costs so little
there that I've not removed them there (in case my grep was wrong).

This makes at least some of the tapes work for me again.  Now, to
regresion test all my dusty tapes...
This commit is contained in:
Warner Losh 2005-03-25 06:03:11 +00:00
parent 228ea9d212
commit 84c248f850
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=144093

View File

@ -1088,6 +1088,8 @@ gethead(struct s_spcl *buf)
if (buf->c_magic == NFS_MAGIC) {
buf->c_date = _time32_to_time(buf->c_old_date);
buf->c_ddate = _time32_to_time(buf->c_old_ddate);
buf->c_tapea = buf->c_old_tapea;
buf->c_firstrec = buf->c_old_firstrec;
}
case TS_END:
buf->c_inumber = 0;