|
|
@@ -243,9 +243,10 @@ xfs_init_procfs(void)
|
|
|
if (!proc_mkdir("fs/xfs", NULL))
|
|
|
goto out;
|
|
|
|
|
|
- if (!proc_create("fs/xfs/stat", 0, NULL,
|
|
|
- &xfs_stat_proc_fops))
|
|
|
+ if (!proc_symlink("fs/xfs/stat", NULL,
|
|
|
+ "/sys/fs/xfs/stats/stats"))
|
|
|
goto out_remove_xfs_dir;
|
|
|
+
|
|
|
#ifdef CONFIG_XFS_QUOTA
|
|
|
if (!proc_create("fs/xfs/xqmstat", 0, NULL,
|
|
|
&xqmstat_proc_fops))
|