 fs/xfs/xfs_vfsops.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN fs/xfs/xfs_vfsops.c~xfs-statfs-warning-fix fs/xfs/xfs_vfsops.c
--- 25-power4/fs/xfs/xfs_vfsops.c~xfs-statfs-warning-fix	2003-06-07 13:38:14.000000000 -0700
+++ 25-power4-akpm/fs/xfs/xfs_vfsops.c	2003-06-07 13:38:45.000000000 -0700
@@ -782,7 +782,7 @@ xfs_statvfs(
 		if (!mp->m_inoadd)
 #endif
 			statp->f_files =
-			    MIN(statp->f_files, mp->m_maxicount);
+			    min_t(sector_t, statp->f_files, mp->m_maxicount);
 	statp->f_ffree = statp->f_files - (sbp->sb_icount - sbp->sb_ifree);
 	XFS_SB_UNLOCK(mp, s);
 

_
