xfs: remove xfs_ipin/xfs_iunpin
authorChristoph Hellwig <hch@lst.de>
Thu, 18 Feb 2010 12:43:22 +0000 (12:43 +0000)
committerAlex Elder <aelder@sgi.com>
Mon, 1 Mar 2010 22:35:56 +0000 (16:35 -0600)
commita14a5ab58f9d783ec3a2a287320fab22e1764813
tree52d0a4cbaa9aa4fe2e711cf5a68ba9fe6c2e677c
parent60ec678371183f6e0d487e55fe8adbb33816518e
xfs: remove xfs_ipin/xfs_iunpin

Inodes are only pinned/unpinned via the inode item methods, and lots of
code relies on that fact.  So remove the separate xfs_ipin/xfs_iunpin
helpers and merge them into their only callers.  This also fixes up
various duplicate and/or incorrect comments.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <david@fromorbit.com>
Signed-off-by: Alex Elder <aelder@sgi.com>
fs/xfs/xfs_inode.c
fs/xfs/xfs_inode.h
fs/xfs/xfs_inode_item.c