diff options
| author | Eric Sandeen <sandeen@sandeen.net> | 2009-07-02 01:09:33 -0400 |
|---|---|---|
| committer | Felix Blyakher <felixb@sgi.com> | 2009-08-31 15:46:20 -0400 |
| commit | d96f8f891f69ac1dc8c7bd82e27525de220c04e1 (patch) | |
| tree | 2f9af0f625a164bee6f369feba8aa2a99e73a753 /fs/xfs/linux-2.6/xfs_sync.c | |
| parent | bc990f5cb424cdca9dda866785d088e2c2110ecc (diff) | |
xfs: add more statics & drop some unused functions
A lot more functions could be made static, but they need
forward declarations; this does some easy ones, and also
found a few unused functions in the process.
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Felix Blyakher <felixb@sgi.com>
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_sync.c')
| -rw-r--r-- | fs/xfs/linux-2.6/xfs_sync.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/fs/xfs/linux-2.6/xfs_sync.c b/fs/xfs/linux-2.6/xfs_sync.c index 98ef624d9baf..320be6aea492 100644 --- a/fs/xfs/linux-2.6/xfs_sync.c +++ b/fs/xfs/linux-2.6/xfs_sync.c | |||
| @@ -749,21 +749,6 @@ __xfs_inode_clear_reclaim_tag( | |||
| 749 | XFS_INO_TO_AGINO(mp, ip->i_ino), XFS_ICI_RECLAIM_TAG); | 749 | XFS_INO_TO_AGINO(mp, ip->i_ino), XFS_ICI_RECLAIM_TAG); |
| 750 | } | 750 | } |
| 751 | 751 | ||
| 752 | void | ||
| 753 | xfs_inode_clear_reclaim_tag( | ||
| 754 | xfs_inode_t *ip) | ||
| 755 | { | ||
| 756 | xfs_mount_t *mp = ip->i_mount; | ||
| 757 | xfs_perag_t *pag = xfs_get_perag(mp, ip->i_ino); | ||
| 758 | |||
| 759 | read_lock(&pag->pag_ici_lock); | ||
| 760 | spin_lock(&ip->i_flags_lock); | ||
| 761 | __xfs_inode_clear_reclaim_tag(mp, pag, ip); | ||
| 762 | spin_unlock(&ip->i_flags_lock); | ||
| 763 | read_unlock(&pag->pag_ici_lock); | ||
| 764 | xfs_put_perag(mp, pag); | ||
| 765 | } | ||
| 766 | |||
| 767 | STATIC int | 752 | STATIC int |
| 768 | xfs_reclaim_inode_now( | 753 | xfs_reclaim_inode_now( |
| 769 | struct xfs_inode *ip, | 754 | struct xfs_inode *ip, |
