Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 89404
b: refs/heads/master
c: 0225da1
h: refs/heads/master
v: v3
  • Loading branch information
Harvey Harrison authored and Lachlan McIlroy committed Apr 18, 2008
1 parent 8f6baab commit 0309b89
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6b1d1a732f886936fe515d911b1a01d9cc50e179
refs/heads/master: 0225da1f35df46c67785eb08526995d7cdb4e3b0
2 changes: 1 addition & 1 deletion trunk/fs/xfs/linux-2.6/xfs_cred.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down
4 changes: 2 additions & 2 deletions trunk/fs/xfs/linux-2.6/xfs_stats.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

Expand Down
4 changes: 2 additions & 2 deletions trunk/fs/xfs/quota/xfs_qm_stats.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 0309b89

Please sign in to comment.