LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH 6/9] xfs: replace __inline with inline
@ 2008-03-05  1:17 Harvey Harrison
  2008-03-06 12:37 ` Christoph Hellwig
  0 siblings, 1 reply; 2+ messages in thread
From: Harvey Harrison @ 2008-03-05  1:17 UTC (permalink / raw)
  To: xfs, Christoph Hellwig; +Cc: LKML, Andrew Morton

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
---
 fs/xfs/linux-2.6/xfs_cred.h  |    2 +-
 fs/xfs/linux-2.6/xfs_stats.h |    4 ++--
 fs/xfs/quota/xfs_qm_stats.h  |    4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/fs/xfs/linux-2.6/xfs_cred.h b/fs/xfs/linux-2.6/xfs_cred.h
index e7f3da6..652721c 100644
--- a/fs/xfs/linux-2.6/xfs_cred.h
+++ b/fs/xfs/linux-2.6/xfs_cred.h
@@ -30,7 +30,7 @@ typedef struct cred {
 extern struct cred *sys_cred;
 
 /* this is a hack.. (assumes sys_cred is the only cred_t in the system) */
-static __inline int capable_cred(cred_t *cr, int cid)
+static inline int capable_cred(cred_t *cr, int cid)
 {
 	return (cr == sys_cred) ? 1 : capable(cid);
 }
diff --git a/fs/xfs/linux-2.6/xfs_stats.h b/fs/xfs/linux-2.6/xfs_stats.h
index 8ba7a2f..afd0b0d 100644
--- a/fs/xfs/linux-2.6/xfs_stats.h
+++ b/fs/xfs/linux-2.6/xfs_stats.h
@@ -144,8 +144,8 @@ extern void xfs_cleanup_procfs(void);
 # define XFS_STATS_DEC(count)
 # define XFS_STATS_ADD(count, inc)
 
-static __inline void xfs_init_procfs(void) { };
-static __inline void xfs_cleanup_procfs(void) { };
+static inline void xfs_init_procfs(void) { };
+static inline void xfs_cleanup_procfs(void) { };
 
 #endif	/* !CONFIG_PROC_FS */
 
diff --git a/fs/xfs/quota/xfs_qm_stats.h b/fs/xfs/quota/xfs_qm_stats.h
index a50ffab..5b964fc 100644
--- a/fs/xfs/quota/xfs_qm_stats.h
+++ b/fs/xfs/quota/xfs_qm_stats.h
@@ -45,8 +45,8 @@ extern void xfs_qm_cleanup_procfs(void);
 
 # define XQM_STATS_INC(count)	do { } while (0)
 
-static __inline void xfs_qm_init_procfs(void) { };
-static __inline void xfs_qm_cleanup_procfs(void) { };
+static inline void xfs_qm_init_procfs(void) { };
+static inline void xfs_qm_cleanup_procfs(void) { };
 
 #endif
 
-- 
1.5.4.3.500.g83a2c



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH 6/9] xfs: replace __inline with inline
  2008-03-05  1:17 [PATCH 6/9] xfs: replace __inline with inline Harvey Harrison
@ 2008-03-06 12:37 ` Christoph Hellwig
  0 siblings, 0 replies; 2+ messages in thread
From: Christoph Hellwig @ 2008-03-06 12:37 UTC (permalink / raw)
  To: Harvey Harrison; +Cc: xfs, Christoph Hellwig, LKML, Andrew Morton

On Tue, Mar 04, 2008 at 05:17:19PM -0800, Harvey Harrison wrote:
> Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
> ---
>  fs/xfs/linux-2.6/xfs_cred.h  |    2 +-
>  fs/xfs/linux-2.6/xfs_stats.h |    4 ++--
>  fs/xfs/quota/xfs_qm_stats.h  |    4 ++--
>  3 files changed, 5 insertions(+), 5 deletions(-)

This looks good to me, especially given that plain 'inline' is the
canonical form in xfs these days.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-03-06 12:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-05  1:17 [PATCH 6/9] xfs: replace __inline with inline Harvey Harrison
2008-03-06 12:37 ` Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).