1 Index: linux-2.4.21/fs/nfs/inode.c
2 ===================================================================
3 --- linux-2.4.21.orig/fs/nfs/inode.c 2005-06-01 22:51:55.000000000 -0400
4 +++ linux-2.4.21/fs/nfs/inode.c 2005-06-01 23:38:54.883239912 -0400
7 if (TOOBIG(((res.abytes + blockres) >> blockbits)))
9 - if (TOOBIG(res.tfiles) || TOOBIG(res.afiles))
12 buf->f_blocks = (res.tbytes + blockres) >> blockbits;
13 buf->f_bfree = (res.fbytes + blockres) >> blockbits;
14 buf->f_bavail = (res.abytes + blockres) >> blockbits;
15 - buf->f_files = res.tfiles;
16 - buf->f_ffree = res.afiles;
18 + if (TOOBIG(res.tfiles))
21 + buf->f_files = res.tfiles;
23 + if (TOOBIG(res.afiles))
26 + buf->f_ffree = res.afiles;