Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 -1
+1 -1
fs/netfs/fscache_proc.c
··· 16 16 */ 17 17 int __init fscache_proc_init(void) 18 18 { 19 - if (!proc_symlink("fs/fscache", NULL, "../netfs")) 19 + if (!proc_symlink("fs/fscache", NULL, "netfs")) 20 20 goto error_sym; 21 21 22 22 if (!proc_create_seq("fs/netfs/caches", S_IFREG | 0444, NULL,