[2.6 patch] fs/xfs/linux-2.6/xfs_buf.h: "extern inline" doesn't make sense
From: Adrian Bunk (bunk_at_stusta.de)
Date: 09/03/05
- Previous message: Denis Vlasenko: "Re: i2c via686a.c: save at least 0.5k of space by long v[256] -> u16 v[256]"
- Next in thread: Christoph Hellwig: "Re: [xfs-masters] [2.6 patch] fs/xfs/linux-2.6/xfs_buf.h: "extern inline" doesn't make sense"
- Reply: Christoph Hellwig: "Re: [xfs-masters] [2.6 patch] fs/xfs/linux-2.6/xfs_buf.h: "extern inline" doesn't make sense"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 3 Sep 2005 15:23:47 +0200 To: Andrew Morton <akpm@osdl.org>
"extern inline" doesn't make sense.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
This patch was already sent on:
- 20 Aug 2005
--- 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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Previous message: Denis Vlasenko: "Re: i2c via686a.c: save at least 0.5k of space by long v[256] -> u16 v[256]"
- Next in thread: Christoph Hellwig: "Re: [xfs-masters] [2.6 patch] fs/xfs/linux-2.6/xfs_buf.h: "extern inline" doesn't make sense"
- Reply: Christoph Hellwig: "Re: [xfs-masters] [2.6 patch] fs/xfs/linux-2.6/xfs_buf.h: "extern inline" doesn't make sense"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|