diff options
Diffstat (limited to 'fs/xfs/xfs_vnodeops.c')
-rw-r--r-- | fs/xfs/xfs_vnodeops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_vnodeops.c b/fs/xfs/xfs_vnodeops.c index a478f42e63ff..0f0a64e81db9 100644 --- a/fs/xfs/xfs_vnodeops.c +++ b/fs/xfs/xfs_vnodeops.c | |||
@@ -1335,7 +1335,7 @@ xfs_inactive_symlink_rmt( | |||
1335 | */ | 1335 | */ |
1336 | done = 0; | 1336 | done = 0; |
1337 | XFS_BMAP_INIT(&free_list, &first_block); | 1337 | XFS_BMAP_INIT(&free_list, &first_block); |
1338 | nmaps = sizeof(mval) / sizeof(mval[0]); | 1338 | nmaps = ARRAY_SIZE(mval); |
1339 | if ((error = xfs_bmapi(tp, ip, 0, XFS_B_TO_FSB(mp, size), | 1339 | if ((error = xfs_bmapi(tp, ip, 0, XFS_B_TO_FSB(mp, size), |
1340 | XFS_BMAPI_METADATA, &first_block, 0, mval, &nmaps, | 1340 | XFS_BMAPI_METADATA, &first_block, 0, mval, &nmaps, |
1341 | &free_list))) | 1341 | &free_list))) |