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_bmap.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_bmap.c')
-rw-r--r-- | fs/xfs/xfs_bmap.c | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/fs/xfs/xfs_bmap.c b/fs/xfs/xfs_bmap.c index de3162418663..f6f5ad35734c 100644 --- a/fs/xfs/xfs_bmap.c +++ b/fs/xfs/xfs_bmap.c | |||
@@ -301,6 +301,19 @@ xfs_bmap_search_extents( | |||
301 | xfs_bmbt_irec_t *gotp, /* out: extent entry found */ | 301 | xfs_bmbt_irec_t *gotp, /* out: extent entry found */ |
302 | xfs_bmbt_irec_t *prevp); /* out: previous extent entry found */ | 302 | xfs_bmbt_irec_t *prevp); /* out: previous extent entry found */ |
303 | 303 | ||
304 | /* | ||
305 | * Check the last inode extent to determine whether this allocation will result | ||
306 | * in blocks being allocated at the end of the file. When we allocate new data | ||
307 | * blocks at the end of the file which do not start at the previous data block, | ||
308 | * we will try to align the new blocks at stripe unit boundaries. | ||
309 | */ | ||
310 | STATIC int /* error */ | ||
311 | xfs_bmap_isaeof( | ||
312 | xfs_inode_t *ip, /* incore inode pointer */ | ||
313 | xfs_fileoff_t off, /* file offset in fsblocks */ | ||
314 | int whichfork, /* data or attribute fork */ | ||
315 | char *aeof); /* return value */ | ||
316 | |||
304 | #ifdef XFS_BMAP_TRACE | 317 | #ifdef XFS_BMAP_TRACE |
305 | /* | 318 | /* |
306 | * Add a bmap trace buffer entry. Base routine for the others. | 319 | * Add a bmap trace buffer entry. Base routine for the others. |
@@ -5714,7 +5727,7 @@ unlock_and_return: | |||
5714 | * blocks at the end of the file which do not start at the previous data block, | 5727 | * blocks at the end of the file which do not start at the previous data block, |
5715 | * we will try to align the new blocks at stripe unit boundaries. | 5728 | * we will try to align the new blocks at stripe unit boundaries. |
5716 | */ | 5729 | */ |
5717 | int /* error */ | 5730 | STATIC int /* error */ |
5718 | xfs_bmap_isaeof( | 5731 | xfs_bmap_isaeof( |
5719 | xfs_inode_t *ip, /* incore inode pointer */ | 5732 | xfs_inode_t *ip, /* incore inode pointer */ |
5720 | xfs_fileoff_t off, /* file offset in fsblocks */ | 5733 | xfs_fileoff_t off, /* file offset in fsblocks */ |