summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_rename.c
diff options
context:
space:
mode:
authorEric Sandeen <sandeen@sandeen.net>2007-02-10 18:37:16 +1100
committerTim Shimmin <tes@sgi.com>2007-02-10 18:37:16 +1100
commitf7c99b6fc7b3791cd24e0763cd4967d744c164a3 (patch)
tree543581c6ebe8987ff83b6d8b3425e5c2723bbf3d /fs/xfs/xfs_rename.c
parent39058a0e12a8b2dcb8f9345ecad52dbcfc120ef7 (diff)
downloadlinux-3.10-f7c99b6fc7b3791cd24e0763cd4967d744c164a3.tar.gz
linux-3.10-f7c99b6fc7b3791cd24e0763cd4967d744c164a3.tar.bz2
linux-3.10-f7c99b6fc7b3791cd24e0763cd4967d744c164a3.zip
[XFS] Remove unused argument to xfs_bmap_finish
The firstblock argument to xfs_bmap_finish is not used by that function. Remove it and cleanup the code a bit. Patch provided by Eric Sandeen. SGI-PV: 960196 SGI-Modid: xfs-linux-melb:xfs-kern:28034a Signed-off-by: Eric Sandeen <sandeen@sandeen.net> Signed-off-by: David Chinner <dgc@sgi.com> Signed-off-by: Tim Shimmin <tes@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_rename.c')
-rw-r--r--fs/xfs/xfs_rename.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_rename.c b/fs/xfs/xfs_rename.c
index d98171deaa1..4c6573d784c 100644
--- a/fs/xfs/xfs_rename.c
+++ b/fs/xfs/xfs_rename.c
@@ -565,7 +565,7 @@ xfs_rename(
IHOLD(target_ip);
IHOLD(src_ip);
- error = xfs_bmap_finish(&tp, &free_list, first_block, &committed);
+ error = xfs_bmap_finish(&tp, &free_list, &committed);
if (error) {
xfs_bmap_cancel(&free_list);
xfs_trans_cancel(tp, (XFS_TRANS_RELEASE_LOG_RES |