From d744d9bbdb75632fc00382e0434116d48b23d16c Mon Sep 17 00:00:00 2001 From: Eric Sandeen Date: Sat, 23 May 2009 14:30:12 -0500 Subject: [PATCH] --- yaml --- r: 145465 b: refs/heads/master c: e6da7c9fed111ba1243297ee6eda8e24ae11c384 h: refs/heads/master i: 145463: e406ef50fc0706c98bc815213289756e0dd309d9 v: v3 --- [refs] | 2 +- trunk/fs/xfs/xfs_fsops.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 8ba0d7d5556e..442c5f05a3fd 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 1f23920dbf1377fa9e4aef4f3d20c34a06a71a35 +refs/heads/master: e6da7c9fed111ba1243297ee6eda8e24ae11c384 diff --git a/trunk/fs/xfs/xfs_fsops.c b/trunk/fs/xfs/xfs_fsops.c index 8379e3bca26c..cbd451bb4848 100644 --- a/trunk/fs/xfs/xfs_fsops.c +++ b/trunk/fs/xfs/xfs_fsops.c @@ -160,7 +160,7 @@ xfs_growfs_data_private( nagcount = new + (nb_mod != 0); if (nb_mod && nb_mod < XFS_MIN_AG_BLOCKS) { nagcount--; - nb = nagcount * mp->m_sb.sb_agblocks; + nb = (xfs_rfsblock_t)nagcount * mp->m_sb.sb_agblocks; if (nb < mp->m_sb.sb_dblocks) return XFS_ERROR(EINVAL); }