[PA-RISC] Fix filldir warnings

filldir_t now takes a u64, not an ino_t.

Signed-off-by: Matthew Wilcox <matthew@wil.cx>

authored by Matthew Wilcox and committed by Matthew Wilcox 15c130c1 17cca072

+5 -7
+1 -1
arch/parisc/hpux/fs.c
··· 73 73 #define ROUND_UP(x) (((x)+sizeof(long)-1) & ~(sizeof(long)-1)) 74 74 75 75 static int filldir(void * __buf, const char * name, int namlen, loff_t offset, 76 - ino_t ino, unsigned d_type) 76 + u64 ino, unsigned d_type) 77 77 { 78 78 struct hpux_dirent * dirent; 79 79 struct getdents_callback * buf = (struct getdents_callback *) __buf;
+4 -6
arch/parisc/kernel/sys_parisc32.c
··· 313 313 314 314 #define ROUND_UP(x,a) ((__typeof__(x))(((unsigned long)(x) + ((a) - 1)) & ~((a) - 1))) 315 315 #define NAME_OFFSET(de) ((int) ((de)->d_name - (char __user *) (de))) 316 - static int 317 - filldir32 (void *__buf, const char *name, int namlen, loff_t offset, ino_t ino, 318 - unsigned int d_type) 316 + static int filldir32 (void *__buf, const char *name, int namlen, 317 + loff_t offset, u64 ino, unsigned int d_type) 319 318 { 320 319 struct linux32_dirent __user * dirent; 321 320 struct getdents32_callback * buf = (struct getdents32_callback *) __buf; ··· 376 377 return error; 377 378 } 378 379 379 - static int 380 - fillonedir32 (void * __buf, const char * name, int namlen, loff_t offset, ino_t ino, 381 - unsigned int d_type) 380 + static int fillonedir32(void * __buf, const char * name, int namlen, 381 + loff_t offset, u64 ino, unsigned int d_type) 382 382 { 383 383 struct readdir32_callback * buf = (struct readdir32_callback *) __buf; 384 384 struct old_linux32_dirent __user * dirent;