summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_stats.c
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2015-10-19 08:42:46 +1100
committerDave Chinner <david@fromorbit.com>2015-10-19 08:42:46 +1100
commit985ef4dcf94ac0113e2b32ef86bdd5bc47c016b3 (patch)
tree7f680b71b99c251f4bcf13939ca571c468be3244 /fs/xfs/xfs_stats.c
parent9e92054e8e049f8f4c64d2c6961b2a7e3e13977f (diff)
downloadlinux-985ef4dcf94ac0113e2b32ef86bdd5bc47c016b3.tar.gz
linux-985ef4dcf94ac0113e2b32ef86bdd5bc47c016b3.tar.bz2
linux-985ef4dcf94ac0113e2b32ef86bdd5bc47c016b3.zip
xfs: stats are no longer dependent on CONFIG_PROC_FS
So we need to fix the makefile to understand this, otherwise build errors with CONFIG_PROC_FS=n occur. Reported-and-tested-by: Jim Davis <jim.epost@gmail.com> Signed-off-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_stats.c')
-rw-r--r--fs/xfs/xfs_stats.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/xfs/xfs_stats.c b/fs/xfs/xfs_stats.c
index bd50619fa8c9..8686df6c7609 100644
--- a/fs/xfs/xfs_stats.c
+++ b/fs/xfs/xfs_stats.c
@@ -161,6 +161,7 @@ static const struct file_operations xqmstat_proc_fops = {
};
#endif /* CONFIG_XFS_QUOTA */
+#ifdef CONFIG_PROC_FS
int
xfs_init_procfs(void)
{
@@ -191,3 +192,4 @@ xfs_cleanup_procfs(void)
{
remove_proc_subtree("fs/xfs", NULL);
}
+#endif /* CONFIG_PROC_FS */