Skip to content

Commit

Permalink
[XFS] replace "extern inline" with "static inline" Patch from Adrian …
Browse files Browse the repository at this point in the history
…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>
  • Loading branch information
Christoph Hellwig authored and Nathan Scott committed Sep 4, 2005
1 parent 4df08c5 commit a3c476d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/xfs/linux-2.6/xfs_buf.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a3c476d

Please sign in to comment.