Re: [PATCH V2] lstat/stat/fstat: Use 64bit version of syscall if available

2012-02-05 Thread Carmelo Amoroso
Please commit Cheers Carmelo Inviato da iPod Il giorno 04/feb/2012, alle ore 05:42, Khem Raj raj.k...@gmail.com ha scritto: This is needed for stat'ing loop devices 255 since otherwise kernel returns EOVERFLOW becasue it needs st_rdev/st_dev to be larger than 16bits but in kernel it uses

[PATCH V2] lstat/stat/fstat: Use 64bit version of syscall if available

2012-02-03 Thread Khem Raj
This is needed for stat'ing loop devices 255 since otherwise kernel returns EOVERFLOW becasue it needs st_rdev/st_dev to be larger than 16bits but in kernel it uses __old_kernel_stat for stat syscall which has st_rdev/st_dev as unsigned short Add a testcase Signed-off-by: Khem Raj