[2.6 patch] fs/xfs/linux-2.6/xfs_buf.h: "extern inline" doesn't make sense

From: Adrian Bunk
Date: Fri Aug 19 2005 - 18:43:47 EST


"extern inline" doesn't make sense.


Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

--- linux-2.6.13-rc6-mm1-full/fs/xfs/linux-2.6/xfs_buf.h.old 2005-08-19 23:23:40.000000000 +0200
+++ linux-2.6.13-rc6-mm1-full/fs/xfs/linux-2.6/xfs_buf.h 2005-08-19 23:23:47.000000000 +0200
@@ -452,7 +452,7 @@

#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;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/