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 <[email protected]> Signed-off-by: David Howells <[email protected]> cc: Jeff Layton <[email protected]> cc: Christian Brauner <[email protected]> cc: [email protected] cc: [email protected]
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)