Skip to content

Commit

Permalink
[XFS] fix compilation without CONFIG_PROC_FS
Browse files Browse the repository at this point in the history
SGI-PV: 984019

SGI-Modid: xfs-linux-melb:xfs-kern:31408a

Signed-off-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Tim Shimmin <tes@sgi.com>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
  • Loading branch information
Christoph Hellwig authored and Niv Sardi committed Jul 28, 2008
1 parent 26cc002 commit 766b092
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions fs/xfs/linux-2.6/xfs_stats.h
Original file line number Diff line number Diff line change
Expand Up @@ -146,11 +146,12 @@ extern void xfs_cleanup_procfs(void);

static inline int xfs_init_procfs(void)
{
return 0
};
return 0;
}

static inline void xfs_cleanup_procfs(void)
{
};
}

#endif /* !CONFIG_PROC_FS */

Expand Down

0 comments on commit 766b092

Please sign in to comment.