extern struct DirEntry *afs_dir_GetBlob();
-#ifdef AFS_LINUX22_ENV
-extern struct inode_operations afs_symlink_iops, afs_dir_iops;
-#endif
-
afs_int32 afs_bkvolpref = 0;
afs_int32 afs_bulkStatsDone;
struct sysname_info *state, struct vrequest *areq)
{
int num = 0;
- char **sysnamelist[MAXSYSNAME];
+ char **sysnamelist[MAXNUMSYSNAMES];
if (AFS_EQ_ATSYS(aname)) {
state->offset = 0;
struct sysname_info *state)
{
int num = afs_sysnamecount;
- char **sysnamelist[MAXSYSNAME];
+ char **sysnamelist[MAXNUMSYSNAMES];
if (state->index == -1)
return 0; /* No list */
* We only do this if the entry looks clear.
*/
afs_ProcessFS(tvcp, &statsp[i], areqp);
-#ifdef AFS_LINUX22_ENV
- /* overwrite the ops if it's a directory or symlink. */
- if (vType(tvcp) == VDIR)
- tvcp->v.v_op = &afs_dir_iops;
- else if (vType(tvcp) == VLNK)
- tvcp->v.v_op = &afs_symlink_iops;
+#if defined(AFS_LINUX22_ENV)
+ afs_fill_inode(AFSTOV(tvcp), NULL); /* reset inode operations */
#endif
/* do some accounting for bulk stats: mark this entry as