summaryrefslogtreecommitdiffstats
path: root/fs/readdir.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/readdir.c')
-rw-r--r--fs/readdir.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/readdir.c b/fs/readdir.c
index 059ab391d..8f40d846a 100644
--- a/fs/readdir.c
+++ b/fs/readdir.c
@@ -90,6 +90,8 @@ int dcache_readdir(struct file * filp, void * dirent, filldir_t filldir)
#define NAME_OFFSET(de) ((int) ((de)->d_name - (char *) (de)))
#define ROUND_UP(x) (((x)+sizeof(long)-1) & ~(sizeof(long)-1))
+#ifndef __ia64__
+
struct old_linux_dirent {
unsigned long d_ino;
unsigned long d_offset;
@@ -144,6 +146,8 @@ out:
return error;
}
+#endif /* !__ia64__ */
+
/*
* New, all-improved, singing, dancing, iBCS2-compliant getdents()
* interface.