diff options
author | Christoph Hellwig <hch@sgi.com> | 2005-06-21 01:36:52 -0400 |
---|---|---|
committer | Nathan Scott <nathans@sgi.com> | 2005-06-21 01:36:52 -0400 |
commit | ba0f32d46049e2b625dabd33c7964f8ca2cd7651 (patch) | |
tree | e48dde981e091570870173b5e4f0ec42f01d197d /fs/xfs/xfs_buf_item.c | |
parent | 4372d6e10349d4e8b012588f86f15c740c73a7c4 (diff) |
[XFS] mark various symbols static Patch from Adrian Bunk
SGI-PV: 936255
SGI-Modid: xfs-linux:xfs-kern:192760a
Signed-off-by: Christoph Hellwig <hch@sgi.com>
Signed-off-by: Nathan Scott <nathans@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_buf_item.c')
-rw-r--r-- | fs/xfs/xfs_buf_item.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/fs/xfs/xfs_buf_item.c b/fs/xfs/xfs_buf_item.c index 9ab0039f07df..30b8285ad476 100644 --- a/fs/xfs/xfs_buf_item.c +++ b/fs/xfs/xfs_buf_item.c | |||
@@ -172,7 +172,7 @@ STATIC void xfs_buf_do_callbacks(xfs_buf_t *bp, xfs_log_item_t *lip); | |||
172 | * | 172 | * |
173 | * If the XFS_BLI_STALE flag has been set, then log nothing. | 173 | * If the XFS_BLI_STALE flag has been set, then log nothing. |
174 | */ | 174 | */ |
175 | uint | 175 | STATIC uint |
176 | xfs_buf_item_size( | 176 | xfs_buf_item_size( |
177 | xfs_buf_log_item_t *bip) | 177 | xfs_buf_log_item_t *bip) |
178 | { | 178 | { |
@@ -240,7 +240,7 @@ xfs_buf_item_size( | |||
240 | * format structure, and the rest point to contiguous chunks | 240 | * format structure, and the rest point to contiguous chunks |
241 | * within the buffer. | 241 | * within the buffer. |
242 | */ | 242 | */ |
243 | void | 243 | STATIC void |
244 | xfs_buf_item_format( | 244 | xfs_buf_item_format( |
245 | xfs_buf_log_item_t *bip, | 245 | xfs_buf_log_item_t *bip, |
246 | xfs_log_iovec_t *log_vector) | 246 | xfs_log_iovec_t *log_vector) |
@@ -365,7 +365,7 @@ xfs_buf_item_format( | |||
365 | * item in memory so it cannot be written out. Simply call bpin() | 365 | * item in memory so it cannot be written out. Simply call bpin() |
366 | * on the buffer to do this. | 366 | * on the buffer to do this. |
367 | */ | 367 | */ |
368 | void | 368 | STATIC void |
369 | xfs_buf_item_pin( | 369 | xfs_buf_item_pin( |
370 | xfs_buf_log_item_t *bip) | 370 | xfs_buf_log_item_t *bip) |
371 | { | 371 | { |
@@ -391,7 +391,7 @@ xfs_buf_item_pin( | |||
391 | * If the XFS_BLI_STALE flag is set and we are the last reference, | 391 | * If the XFS_BLI_STALE flag is set and we are the last reference, |
392 | * then free up the buf log item and unlock the buffer. | 392 | * then free up the buf log item and unlock the buffer. |
393 | */ | 393 | */ |
394 | void | 394 | STATIC void |
395 | xfs_buf_item_unpin( | 395 | xfs_buf_item_unpin( |
396 | xfs_buf_log_item_t *bip, | 396 | xfs_buf_log_item_t *bip, |
397 | int stale) | 397 | int stale) |
@@ -446,7 +446,7 @@ xfs_buf_item_unpin( | |||
446 | * so we need to free the item's descriptor (that points to the item) | 446 | * so we need to free the item's descriptor (that points to the item) |
447 | * in the transaction. | 447 | * in the transaction. |
448 | */ | 448 | */ |
449 | void | 449 | STATIC void |
450 | xfs_buf_item_unpin_remove( | 450 | xfs_buf_item_unpin_remove( |
451 | xfs_buf_log_item_t *bip, | 451 | xfs_buf_log_item_t *bip, |
452 | xfs_trans_t *tp) | 452 | xfs_trans_t *tp) |
@@ -493,7 +493,7 @@ xfs_buf_item_unpin_remove( | |||
493 | * the lock right away, return 0. If we can get the lock, pull the | 493 | * the lock right away, return 0. If we can get the lock, pull the |
494 | * buffer from the free list, mark it busy, and return 1. | 494 | * buffer from the free list, mark it busy, and return 1. |
495 | */ | 495 | */ |
496 | uint | 496 | STATIC uint |
497 | xfs_buf_item_trylock( | 497 | xfs_buf_item_trylock( |
498 | xfs_buf_log_item_t *bip) | 498 | xfs_buf_log_item_t *bip) |
499 | { | 499 | { |
@@ -537,7 +537,7 @@ xfs_buf_item_trylock( | |||
537 | * This is for support of xfs_trans_bhold(). Make sure the | 537 | * This is for support of xfs_trans_bhold(). Make sure the |
538 | * XFS_BLI_HOLD field is cleared if we don't free the item. | 538 | * XFS_BLI_HOLD field is cleared if we don't free the item. |
539 | */ | 539 | */ |
540 | void | 540 | STATIC void |
541 | xfs_buf_item_unlock( | 541 | xfs_buf_item_unlock( |
542 | xfs_buf_log_item_t *bip) | 542 | xfs_buf_log_item_t *bip) |
543 | { | 543 | { |
@@ -635,7 +635,7 @@ xfs_buf_item_unlock( | |||
635 | * by returning the original lsn of that transaction here rather than | 635 | * by returning the original lsn of that transaction here rather than |
636 | * the current one. | 636 | * the current one. |
637 | */ | 637 | */ |
638 | xfs_lsn_t | 638 | STATIC xfs_lsn_t |
639 | xfs_buf_item_committed( | 639 | xfs_buf_item_committed( |
640 | xfs_buf_log_item_t *bip, | 640 | xfs_buf_log_item_t *bip, |
641 | xfs_lsn_t lsn) | 641 | xfs_lsn_t lsn) |
@@ -654,7 +654,7 @@ xfs_buf_item_committed( | |||
654 | * and have aborted this transaction, we'll trap this buffer when it tries to | 654 | * and have aborted this transaction, we'll trap this buffer when it tries to |
655 | * get written out. | 655 | * get written out. |
656 | */ | 656 | */ |
657 | void | 657 | STATIC void |
658 | xfs_buf_item_abort( | 658 | xfs_buf_item_abort( |
659 | xfs_buf_log_item_t *bip) | 659 | xfs_buf_log_item_t *bip) |
660 | { | 660 | { |
@@ -674,7 +674,7 @@ xfs_buf_item_abort( | |||
674 | * B_DELWRI set, then get it going out to disk with a call to bawrite(). | 674 | * B_DELWRI set, then get it going out to disk with a call to bawrite(). |
675 | * If not, then just release the buffer. | 675 | * If not, then just release the buffer. |
676 | */ | 676 | */ |
677 | void | 677 | STATIC void |
678 | xfs_buf_item_push( | 678 | xfs_buf_item_push( |
679 | xfs_buf_log_item_t *bip) | 679 | xfs_buf_log_item_t *bip) |
680 | { | 680 | { |
@@ -693,7 +693,7 @@ xfs_buf_item_push( | |||
693 | } | 693 | } |
694 | 694 | ||
695 | /* ARGSUSED */ | 695 | /* ARGSUSED */ |
696 | void | 696 | STATIC void |
697 | xfs_buf_item_committing(xfs_buf_log_item_t *bip, xfs_lsn_t commit_lsn) | 697 | xfs_buf_item_committing(xfs_buf_log_item_t *bip, xfs_lsn_t commit_lsn) |
698 | { | 698 | { |
699 | } | 699 | } |
@@ -701,7 +701,7 @@ xfs_buf_item_committing(xfs_buf_log_item_t *bip, xfs_lsn_t commit_lsn) | |||
701 | /* | 701 | /* |
702 | * This is the ops vector shared by all buf log items. | 702 | * This is the ops vector shared by all buf log items. |
703 | */ | 703 | */ |
704 | struct xfs_item_ops xfs_buf_item_ops = { | 704 | STATIC struct xfs_item_ops xfs_buf_item_ops = { |
705 | .iop_size = (uint(*)(xfs_log_item_t*))xfs_buf_item_size, | 705 | .iop_size = (uint(*)(xfs_log_item_t*))xfs_buf_item_size, |
706 | .iop_format = (void(*)(xfs_log_item_t*, xfs_log_iovec_t*)) | 706 | .iop_format = (void(*)(xfs_log_item_t*, xfs_log_iovec_t*)) |
707 | xfs_buf_item_format, | 707 | xfs_buf_item_format, |