summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2024-01-03 22:08:11 +0100
committerDavid Howells <dhowells@redhat.com>2024-01-04 14:15:32 +0100
commit43833f2ba5ce1543148a1b7cdd2513f5a663a17c (patch)
tree2a08426a6a8a55337640288bde5e1d43d94e579f /fs
parentnetfs: Rearrange netfs_io_subrequest to put request pointer first (diff)
downloadlinux-43833f2ba5ce1543148a1b7cdd2513f5a663a17c.tar.xz
linux-43833f2ba5ce1543148a1b7cdd2513f5a663a17c.zip
netfs: Fix proc/fs/fscache symlink to point to "netfs" not "../netfs"
Fix the proc/fs/fscache symlink to point to "netfs" not "../netfs". Reported-by: Marc Dionne <marc.dionne@auristor.com> Signed-off-by: David Howells <dhowells@redhat.com> cc: 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')
-rw-r--r--fs/netfs/fscache_proc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/netfs/fscache_proc.c b/fs/netfs/fscache_proc.c
index ecd0d1edafaa..874d951bc390 100644
--- a/fs/netfs/fscache_proc.c
+++ b/fs/netfs/fscache_proc.c
@@ -16,7 +16,7 @@
*/
int __init fscache_proc_init(void)
{
- if (!proc_symlink("fs/fscache", NULL, "../netfs"))
+ if (!proc_symlink("fs/fscache", NULL, "netfs"))
goto error_sym;
if (!proc_create_seq("fs/netfs/caches", S_IFREG | 0444, NULL,