Skip to content

Commit 43833f2

Browse files
committed
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
1 parent 040a82b commit 43833f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/netfs/fscache_proc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*/
1717
int __init fscache_proc_init(void)
1818
{
19-
if (!proc_symlink("fs/fscache", NULL, "../netfs"))
19+
if (!proc_symlink("fs/fscache", NULL, "netfs"))
2020
goto error_sym;
2121

2222
if (!proc_create_seq("fs/netfs/caches", S_IFREG | 0444, NULL,

0 commit comments

Comments
 (0)