[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

  • Next message: Reuben Farrelly: "Re: 2.6.13-mm1: hangs during boot ..."
    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/
    

  • Next message: Reuben Farrelly: "Re: 2.6.13-mm1: hangs during boot ..."

    Relevant Pages

    • Re: [announcement, patch] real-time interrupts for the Linux kernel
      ... | attention for a new patch that adds hard real time support to the ... | Bernhard Kuhn, Senior Software Engineer, Metrowerks ... | - To unsubscribe from this list: ...
      (Linux-Kernel)
    • Re: [PATCH] Stairacse scheduler v6.E for 2.6.7-rc3
      ... I am assuming the 267-rc3 patch will not go ... > To unsubscribe from this list: ... Do You Yahoo!? ... Mail has the best spam protection around ...
      (Linux-Kernel)
    • Re: Random file I/O regressions in 2.6
      ... > the access patterns. ... Let me see how this patch does with a DSS benchmark. ... >> might be loosing some benefits of some of the optimization because ... To unsubscribe from this list: send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: kswapd sucking up CPU / bugs database
      ... > seem to find any sort ... Search for the patch here. ... I don't know any web to download patches, ... unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe ...
      (RedHat)
    • dokuwiki problem
      ... repeated subpattern is too long at offset 14466 ... Cannot modify header information - headers already sent by ... if I Cancel, ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)