Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 985ef4dc authored by Dave Chinner's avatar Dave Chinner Committed by Dave Chinner
Browse files

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: default avatarJim Davis <jim.epost@gmail.com>
Signed-off-by: default avatarDave Chinner <dchinner@redhat.com>
Signed-off-by: default avatarDave Chinner <david@fromorbit.com>
parent 9e92054e
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -84,6 +84,7 @@ xfs-y += xfs_aops.o \
				   xfs_message.o \
				   xfs_message.o \
				   xfs_mount.o \
				   xfs_mount.o \
				   xfs_mru_cache.o \
				   xfs_mru_cache.o \
				   xfs_stats.o \
				   xfs_super.o \
				   xfs_super.o \
				   xfs_symlink.o \
				   xfs_symlink.o \
				   xfs_sysfs.o \
				   xfs_sysfs.o \
@@ -118,7 +119,6 @@ xfs-$(CONFIG_XFS_QUOTA) += xfs_dquot.o \
xfs-$(CONFIG_XFS_RT)		+= xfs_rtalloc.o
xfs-$(CONFIG_XFS_RT)		+= xfs_rtalloc.o


xfs-$(CONFIG_XFS_POSIX_ACL)	+= xfs_acl.o
xfs-$(CONFIG_XFS_POSIX_ACL)	+= xfs_acl.o
xfs-$(CONFIG_PROC_FS)		+= xfs_stats.o
xfs-$(CONFIG_SYSCTL)		+= xfs_sysctl.o
xfs-$(CONFIG_SYSCTL)		+= xfs_sysctl.o
xfs-$(CONFIG_COMPAT)		+= xfs_ioctl32.o
xfs-$(CONFIG_COMPAT)		+= xfs_ioctl32.o
xfs-$(CONFIG_NFSD_PNFS)		+= xfs_pnfs.o
xfs-$(CONFIG_NFSD_PNFS)		+= xfs_pnfs.o
+2 −0
Original line number Original line Diff line number Diff line
@@ -161,6 +161,7 @@ static const struct file_operations xqmstat_proc_fops = {
};
};
#endif /* CONFIG_XFS_QUOTA */
#endif /* CONFIG_XFS_QUOTA */


#ifdef CONFIG_PROC_FS
int
int
xfs_init_procfs(void)
xfs_init_procfs(void)
{
{
@@ -191,3 +192,4 @@ xfs_cleanup_procfs(void)
{
{
	remove_proc_subtree("fs/xfs", NULL);
	remove_proc_subtree("fs/xfs", NULL);
}
}
#endif /* CONFIG_PROC_FS */