From 38e7c5f727af4ac1905e505c5e8225503ca2e030 Mon Sep 17 00:00:00 2001 From: Derrick Brashear Date: Mon, 6 Nov 2000 15:30:18 +0000 Subject: [PATCH] linux24-cleanup-20001106 remainder of fixes. temporary test hardware confirms it builds again --- src/afs/LINUX/osi_vnodeops.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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); -- 2.39.5