diff options
author | David Howells <dhowells@redhat.com> | 2023-11-21 18:43:52 +0300 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2023-12-24 18:08:48 +0300 |
commit | 7eb5b3e3a0a55f2d166ca949ef47ca6e0c704aab (patch) | |
tree | 30357b01626c21f2c231823d099c69e84eceb943 /fs/netfs/fscache_stats.c | |
parent | 4498a8eccc97de3d65f876b6fdeddb439ef73abc (diff) | |
download | linux-7eb5b3e3a0a55f2d166ca949ef47ca6e0c704aab.tar.xz |
netfs, fscache: Move /proc/fs/fscache to /proc/fs/netfs and put in a symlink
Rename /proc/fs/fscache to "netfs" and make a symlink from fscache to that.
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
cc: Christian Brauner <christian@brauner.io>
cc: linux-fsdevel@vger.kernel.org
cc: linux-cachefs@redhat.com
Diffstat (limited to 'fs/netfs/fscache_stats.c')
-rw-r--r-- | fs/netfs/fscache_stats.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/netfs/fscache_stats.c b/fs/netfs/fscache_stats.c index fc94e5e79f1c..aad812ead398 100644 --- a/fs/netfs/fscache_stats.c +++ b/fs/netfs/fscache_stats.c @@ -52,7 +52,7 @@ EXPORT_SYMBOL(fscache_n_culled); /* * display the general statistics */ -int fscache_stats_show(struct seq_file *m, void *v) +int fscache_stats_show(struct seq_file *m) { seq_puts(m, "FS-Cache statistics\n"); seq_printf(m, "Cookies: n=%d v=%d vcol=%u voom=%u\n", @@ -96,7 +96,5 @@ int fscache_stats_show(struct seq_file *m, void *v) seq_printf(m, "IO : rd=%u wr=%u\n", atomic_read(&fscache_n_read), atomic_read(&fscache_n_write)); - - netfs_stats_show(m); return 0; } |