From c2ea9e9f4318e335dd33f9b93e868ed5eba0399c Mon Sep 17 00:00:00 2001 From: Eric Sandeen Date: Sat, 23 May 2009 14:30:12 -0500 Subject: [PATCH] --- yaml --- r: 148834 b: refs/heads/master c: 096324873f9c7172a17aff9db1356f4f01b77afe h: refs/heads/master 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 d64a8cd57e19..020369ca2b02 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: ec91d1335f478c5cd089d82ffbf936075c5f24c8 +refs/heads/master: 096324873f9c7172a17aff9db1356f4f01b77afe 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); }