diff options
author | Eric Sandeen <sandeen@sandeen.net> | 2009-11-19 10:52:00 -0500 |
---|---|---|
committer | Alex Elder <aelder@sgi.com> | 2010-01-15 16:31:38 -0500 |
commit | 5d77c0dc0c05c2c65aee16149fae06831a118730 (patch) | |
tree | 742ac29243b5cd00b4e3cf2a01b6aec5046912ae /fs/xfs/xfs_log_recover.c | |
parent | 6bded0f383fd7971b76ad6c194dda7d5b814b871 (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.c | 6 |
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 | ||
71 | xfs_buf_t * | 71 | STATIC xfs_buf_t * |
72 | xlog_get_bp( | 72 | xlog_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 | ||
91 | void | 91 | STATIC void |
92 | xlog_put_bp( | 92 | xlog_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 | */ |
808 | int | 808 | STATIC int |
809 | xlog_find_tail( | 809 | xlog_find_tail( |
810 | xlog_t *log, | 810 | xlog_t *log, |
811 | xfs_daddr_t *head_blk, | 811 | xfs_daddr_t *head_blk, |