shouldwake = &nomore;
}
}
+#if defined(LINUX_USE_FH)
+ tfile = afs_CFileOpen(&tdc->f.fh, tdc->f.fh_type);
+#else
tfile = afs_CFileOpen(tdc->f.inode);
+#endif
#ifndef AFS_NOSTATS
xferP =
&(afs_stats_cmfullperf.rpc.
ObtainSharedLock(&tdc->lock, 672);
if (newSize < tdc->f.chunkBytes) {
UpgradeSToWLock(&tdc->lock, 673);
+#if defined(LINUX_USE_FH)
+ tfile = afs_CFileOpen(&tdc->f.fh, tdc->f.fh_type);
+#else
tfile = afs_CFileOpen(tdc->f.inode);
+#endif
afs_CFileTruncate(tfile, newSize);
afs_CFileClose(tfile);
afs_AdjustSize(tdc, newSize);