aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_log_recover.c
diff options
context:
space:
mode:
authorEric Sandeen <sandeen@sandeen.net>2009-11-19 10:52:00 -0500
committerAlex Elder <aelder@sgi.com>2010-01-15 16:31:38 -0500
commit5d77c0dc0c05c2c65aee16149fae06831a118730 (patch)
tree742ac29243b5cd00b4e3cf2a01b6aec5046912ae /fs/xfs/xfs_log_recover.c
parent6bded0f383fd7971b76ad6c194dda7d5b814b871 (diff)
xfs: make several more functions static
Just minor housekeeping, a lot more functions can be trivially made static; others could if we reordered things a bit... Signed-off-by: Eric Sandeen <sandeen@sandeen.net> Signed-off-by: Alex Elder <aelder@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_log_recover.c')
-rw-r--r--fs/xfs/xfs_log_recover.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/xfs/xfs_log_recover.c b/fs/xfs/xfs_log_recover.c
index 69ac2e5ef20c..48a7ab1e6311 100644
--- a/fs/xfs/xfs_log_recover.c
+++ b/fs/xfs/xfs_log_recover.c
@@ -68,7 +68,7 @@ STATIC void xlog_recover_check_summary(xlog_t *);
68 ((bbs + (log)->l_sectbb_mask + 1) & ~(log)->l_sectbb_mask) : (bbs) ) 68 ((bbs + (log)->l_sectbb_mask + 1) & ~(log)->l_sectbb_mask) : (bbs) )
69#define XLOG_SECTOR_ROUNDDOWN_BLKNO(log, bno) ((bno) & ~(log)->l_sectbb_mask) 69#define XLOG_SECTOR_ROUNDDOWN_BLKNO(log, bno) ((bno) & ~(log)->l_sectbb_mask)
70 70
71xfs_buf_t * 71STATIC xfs_buf_t *
72xlog_get_bp( 72xlog_get_bp(
73 xlog_t *log, 73 xlog_t *log,
74 int nbblks) 74 int nbblks)
@@ -88,7 +88,7 @@ xlog_get_bp(
88 return xfs_buf_get_noaddr(BBTOB(nbblks), log->l_mp->m_logdev_targp); 88 return xfs_buf_get_noaddr(BBTOB(nbblks), log->l_mp->m_logdev_targp);
89} 89}
90 90
91void 91STATIC void
92xlog_put_bp( 92xlog_put_bp(
93 xfs_buf_t *bp) 93 xfs_buf_t *bp)
94{ 94{
@@ -805,7 +805,7 @@ xlog_find_head(
805 * We could speed up search by using current head_blk buffer, but it is not 805 * We could speed up search by using current head_blk buffer, but it is not
806 * available. 806 * available.
807 */ 807 */
808int 808STATIC int
809xlog_find_tail( 809xlog_find_tail(
810 xlog_t *log, 810 xlog_t *log,
811 xfs_daddr_t *head_blk, 811 xfs_daddr_t *head_blk,