diff options
author | Christoph Hellwig <hch@infradead.org> | 2009-11-14 11:17:22 -0500 |
---|---|---|
committer | Alex Elder <aelder@sgi.com> | 2009-12-11 16:11:22 -0500 |
commit | b8f82a4a6fc79fcb4b2eb81252020e04c9b49da5 (patch) | |
tree | 4f6c6d123e39ea80d43927398c279f29ca1143ef /fs/xfs/linux-2.6/xfs_buf.c | |
parent | 5683f53e36235234f7861909fdff878ff1f1bb20 (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/linux-2.6/xfs_buf.c')
-rw-r--r-- | fs/xfs/linux-2.6/xfs_buf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/xfs/linux-2.6/xfs_buf.c b/fs/xfs/linux-2.6/xfs_buf.c index 811237480734..4ddc973aea7a 100644 --- a/fs/xfs/linux-2.6/xfs_buf.c +++ b/fs/xfs/linux-2.6/xfs_buf.c | |||
@@ -149,7 +149,7 @@ page_region_mask( | |||
149 | return mask; | 149 | return mask; |
150 | } | 150 | } |
151 | 151 | ||
152 | STATIC_INLINE void | 152 | STATIC void |
153 | set_page_region( | 153 | set_page_region( |
154 | struct page *page, | 154 | struct page *page, |
155 | size_t offset, | 155 | size_t offset, |
@@ -161,7 +161,7 @@ set_page_region( | |||
161 | SetPageUptodate(page); | 161 | SetPageUptodate(page); |
162 | } | 162 | } |
163 | 163 | ||
164 | STATIC_INLINE int | 164 | STATIC int |
165 | test_page_region( | 165 | test_page_region( |
166 | struct page *page, | 166 | struct page *page, |
167 | size_t offset, | 167 | size_t offset, |
@@ -1113,7 +1113,7 @@ xfs_bdwrite( | |||
1113 | xfs_buf_delwri_queue(bp, 1); | 1113 | xfs_buf_delwri_queue(bp, 1); |
1114 | } | 1114 | } |
1115 | 1115 | ||
1116 | STATIC_INLINE void | 1116 | STATIC void |
1117 | _xfs_buf_ioend( | 1117 | _xfs_buf_ioend( |
1118 | xfs_buf_t *bp, | 1118 | xfs_buf_t *bp, |
1119 | int schedule) | 1119 | int schedule) |