From: Derrick Brashear Date: Mon, 6 Nov 2000 15:30:18 +0000 (+0000) Subject: linux24-cleanup-20001106 X-Git-Tag: BP-openafs-stable-1_0_x~17 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=38e7c5f727af4ac1905e505c5e8225503ca2e030;p=packages%2Fo%2Fopenafs.git linux24-cleanup-20001106 remainder of fixes. temporary test hardware confirms it builds again --- diff --git a/src/afs/LINUX/osi_vnodeops.c b/src/afs/LINUX/osi_vnodeops.c index 1d1a59727..e5ce3dcb1 100644 --- a/src/afs/LINUX/osi_vnodeops.c +++ b/src/afs/LINUX/osi_vnodeops.c @@ -223,8 +223,11 @@ tagain: len = strlen(de->name); /* filldir returns -EINVAL when the buffer is full. */ - /* code = (*filldir)(dirbuf, de->name, len, offset, ino); */ +#ifdef AFS_LINUX24_ENV code = (*filldir)(dirbuf, de->name, len, offset, ino, DT_DIR); +#else + code = (*filldir)(dirbuf, de->name, len, offset, ino); +#endif DRelease(de, 0); if (code) break; @@ -1073,6 +1076,7 @@ struct dentry * afs_linux_follow_link(struct dentry *dp, { int code = 0; char *name; + struct dentry *res; AFS_GLOCK(); name = osi_Alloc(PATH_MAX+1);