xfs: clean up inconsistent variable naming in xfs_swap_extent
authorDave Chinner <david@fromorbit.com>
Thu, 14 Jan 2010 01:33:56 +0000 (01:33 +0000)
committerAlex Elder <aelder@sgi.com>
Fri, 15 Jan 2010 21:31:23 +0000 (15:31 -0600)
commit6bded0f383fd7971b76ad6c194dda7d5b814b871
tree0613dff32918534d19d322b0719ef855730fad4b
parent3a85cd96d3ab3c6dcf88b81fc6eaddb84e565a43
xfs: clean up inconsistent variable naming in xfs_swap_extent

The swap extent ioctl passes in a target inode and a temporary inode
which are clearly named in the ioctl structure. The code then
assigns temp to target and vice versa, making it extremely difficult
to work out which inode is which later in the code.  Make this
consistent throughout the code.

Also make xfs_swap_extent static as there are no external users of
the function.

Signed-off-by: Dave Chinner <david@fromorbit.com>
Signed-off-by: Alex Elder <aelder@sgi.com>
fs/xfs/xfs_dfrag.c
fs/xfs/xfs_dfrag.h