aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_mount.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2009-11-14 11:17:22 -0500
committerAlex Elder <aelder@sgi.com>2009-12-11 16:11:22 -0500
commitb8f82a4a6fc79fcb4b2eb81252020e04c9b49da5 (patch)
tree4f6c6d123e39ea80d43927398c279f29ca1143ef /fs/xfs/xfs_mount.h
parent5683f53e36235234f7861909fdff878ff1f1bb20 (diff)
xfs: kill the STATIC_INLINE macro
Remove our own STATIC_INLINE macro. For small function inside implementation files just use STATIC and let gcc inline it, and for those in headers do the normal static inline - they are all small enough to be inlined for debug builds, too. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Dave Chinner <david@fromorbit.com> Signed-off-by: Alex Elder <aelder@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_mount.h')
-rw-r--r--fs/xfs/xfs_mount.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/xfs_mount.h b/fs/xfs/xfs_mount.h
index a6c023bc0fb2..23bf246fa85a 100644
--- a/fs/xfs/xfs_mount.h
+++ b/fs/xfs/xfs_mount.h
@@ -387,13 +387,13 @@ xfs_put_perag(struct xfs_mount *mp, xfs_perag_t *pag)
387 * Per-cpu superblock locking functions 387 * Per-cpu superblock locking functions
388 */ 388 */
389#ifdef HAVE_PERCPU_SB 389#ifdef HAVE_PERCPU_SB
390STATIC_INLINE void 390static inline void
391xfs_icsb_lock(xfs_mount_t *mp) 391xfs_icsb_lock(xfs_mount_t *mp)
392{ 392{
393 mutex_lock(&mp->m_icsb_mutex); 393 mutex_lock(&mp->m_icsb_mutex);
394} 394}
395 395
396STATIC_INLINE void 396static inline void
397xfs_icsb_unlock(xfs_mount_t *mp) 397xfs_icsb_unlock(xfs_mount_t *mp)
398{ 398{
399 mutex_unlock(&mp->m_icsb_mutex); 399 mutex_unlock(&mp->m_icsb_mutex);