diff options
author | Christoph Hellwig <hch@sgi.com> | 2005-09-05 08:40:49 +1000 |
---|---|---|
committer | Nathan Scott <nathans@sgi.com> | 2005-09-05 08:40:49 +1000 |
commit | a3c476d8a19ded7c5f1e17ea07df377764d9d1d3 (patch) | |
tree | df7255c33ac4200424eb716e4e6ae30ff83c42c2 /fs/xfs/linux-2.6/xfs_buf.h | |
parent | 4df08c52582be558e12316ae60bf077ca8f17a1e (diff) | |
download | linux-a3c476d8a19ded7c5f1e17ea07df377764d9d1d3.tar.gz linux-a3c476d8a19ded7c5f1e17ea07df377764d9d1d3.tar.bz2 linux-a3c476d8a19ded7c5f1e17ea07df377764d9d1d3.zip |
[XFS] replace "extern inline" with "static inline" Patch from Adrian Bunk
<bunk@stusta.de>, thanks a lot!
SGI-PV: 942227
SGI-Modid: xfs-linux:xfs-kern:198642a
Signed-off-by: Christoph Hellwig <hch@sgi.com>
Signed-off-by: Nathan Scott <nathans@sgi.com>
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_buf.h')
-rw-r--r-- | fs/xfs/linux-2.6/xfs_buf.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/linux-2.6/xfs_buf.h b/fs/xfs/linux-2.6/xfs_buf.h index 4b7fe3b5e460..67c19f799232 100644 --- a/fs/xfs/linux-2.6/xfs_buf.h +++ b/fs/xfs/linux-2.6/xfs_buf.h @@ -444,7 +444,7 @@ extern void pagebuf_trace( #define XFS_BUF_PTR(bp) (xfs_caddr_t)((bp)->pb_addr) -extern inline xfs_caddr_t xfs_buf_offset(xfs_buf_t *bp, size_t offset) +static inline xfs_caddr_t xfs_buf_offset(xfs_buf_t *bp, size_t offset) { if (bp->pb_flags & PBF_MAPPED) return XFS_BUF_PTR(bp) + offset; |