Commit 43833f2b authored by David Howells's avatar David Howells

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: default avatarMarc Dionne <marc.dionne@auristor.com>
Signed-off-by: default avatarDavid 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
parent 040a82be
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
*/ */
int __init fscache_proc_init(void) int __init fscache_proc_init(void)
{ {
if (!proc_symlink("fs/fscache", NULL, "../netfs")) if (!proc_symlink("fs/fscache", NULL, "netfs"))
goto error_sym; goto error_sym;
if (!proc_create_seq("fs/netfs/caches", S_IFREG | 0444, NULL, if (!proc_create_seq("fs/netfs/caches", S_IFREG | 0444, NULL,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment