]> git.baikalelectronics.ru Git - kernel.git/commit
afs: Handle CONFIG_PROC_FS=n
authorDavid Howells <dhowells@redhat.com>
Tue, 5 Jun 2018 09:54:24 +0000 (10:54 +0100)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 15 Jun 2018 04:52:55 +0000 (00:52 -0400)
commit5ffe837b72f238be36bccccd1c6c9e18c8e0d7b1
tree5f46e14845092c7b82544fd2e2f99a67b58048b4
parent1dc01c501f47e2c2b2348d44d55a2a3a28a398a2
afs: Handle CONFIG_PROC_FS=n

The AFS filesystem depends at the moment on /proc for configuration and
also presents information that way - however, this causes a compilation
failure if procfs is disabled.

Fix it so that the procfs bits aren't compiled in if procfs is disabled.

This means that you can't configure the AFS filesystem directly, but it is
still usable provided that an up-to-date keyutils is installed to look up
cells by SRV or AFSDB DNS records.

Reported-by: Al Viro <viro@ZenIV.linux.org.uk>
Signed-off-by: David Howells <dhowells@redhat.com>
fs/afs/Makefile
fs/afs/internal.h