aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_dfrag.h
diff options
context:
space:
mode:
authorDave Chinner <david@fromorbit.com>2010-01-14 01:33:56 +0000
committerAlex Elder <aelder@sgi.com>2010-01-15 15:31:23 -0600
commit6bded0f383fd7971b76ad6c194dda7d5b814b871 (patch)
tree0613dff32918534d19d322b0719ef855730fad4b /fs/xfs/xfs_dfrag.h
parent3a85cd96d3ab3c6dcf88b81fc6eaddb84e565a43 (diff)
downloadkernel_samsung_aries-6bded0f383fd7971b76ad6c194dda7d5b814b871.zip
kernel_samsung_aries-6bded0f383fd7971b76ad6c194dda7d5b814b871.tar.gz
kernel_samsung_aries-6bded0f383fd7971b76ad6c194dda7d5b814b871.tar.bz2
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>
Diffstat (limited to 'fs/xfs/xfs_dfrag.h')
-rw-r--r--fs/xfs/xfs_dfrag.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/xfs/xfs_dfrag.h b/fs/xfs/xfs_dfrag.h
index 4f55a63..20bdd93 100644
--- a/fs/xfs/xfs_dfrag.h
+++ b/fs/xfs/xfs_dfrag.h
@@ -48,9 +48,6 @@ typedef struct xfs_swapext
*/
int xfs_swapext(struct xfs_swapext *sx);
-int xfs_swap_extents(struct xfs_inode *ip, struct xfs_inode *tip,
- struct xfs_swapext *sxp);
-
#endif /* __KERNEL__ */
#endif /* __XFS_DFRAG_H__ */