With CONFIG_LBD=n: fs/open.c: In function `vfs_statfs_native': fs/open.c:67: warning: comparison is always true due to limited range of data type fs/open.c:70: warning: comparison is always true due to limited range of data type --- 25-akpm/fs/open.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff -puN fs/open.c~nfs-32bit-statfs-fix-warning-fix fs/open.c --- 25/fs/open.c~nfs-32bit-statfs-fix-warning-fix 2004-04-06 23:16:25.221685072 -0700 +++ 25-akpm/fs/open.c 2004-04-06 23:16:25.225684464 -0700 @@ -64,10 +64,10 @@ static int vfs_statfs_native(struct supe * f_files and f_ffree may be -1; it's okay to stuff * that into 32 bits */ - if (st.f_files != 0xffffffffffffffffULL && + if (st.f_files != -1 && (st.f_files & 0xffffffff00000000ULL)) return -EOVERFLOW; - if (st.f_ffree != 0xffffffffffffffffULL && + if (st.f_ffree != -1 && (st.f_ffree & 0xffffffff00000000ULL)) return -EOVERFLOW; } _