mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 14:51:00 +07:00
[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>
This commit is contained in:
parent
4df08c5258
commit
a3c476d8a1
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user