• Linus Torvalds's avatar
    autofs: remove left-over autofs4 stubs · a2225d93
    Linus Torvalds authored
    There's no need to retain the fs/autofs4 directory for backward
    compatibility.
    
    Adding an AUTOFS4_FS fragment to the autofs Kconfig and a module alias
    for autofs4 is sufficient for almost all cases. Not keeping fs/autofs4
    remnants will prevent "insmod <path>/autofs4/autofs4.ko" from working
    but this shouldn't be used in automation scripts rather than
    modprobe(8).
    
    There were some comments about things to look out for with the module
    rename in the fs/autofs4/Kconfig that is removed by this patch, see the
    commit patch if you are interested.
    
    One potential problem with this change is that when the
    fs/autofs/Kconfig fragment for AUTOFS4_FS is removed any AUTOFS4_FS
    entries will be removed from the kernel config, resulting in no autofs
    file system being built if there is no AUTOFS_FS entry also.
    
    This would have also happened if the fs/autofs4 remnants had remained
    and is most likely to be a problem with automated builds.
    
    Please check your build configurations before the removal which will
    occur after the next couple of kernel releases.
    Acked-by: default avatarIan Kent <raven@themaw.net>
    [ With edits and commit message from Ian Kent ]
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    a2225d93
Name
Last commit
Last update
Documentation Loading commit data...
LICENSES Loading commit data...
arch Loading commit data...
block Loading commit data...
certs Loading commit data...
crypto Loading commit data...
drivers Loading commit data...
firmware Loading commit data...
fs Loading commit data...
include Loading commit data...
init Loading commit data...
ipc Loading commit data...
kernel Loading commit data...
lib Loading commit data...
mm Loading commit data...
net Loading commit data...
samples Loading commit data...
scripts Loading commit data...
security Loading commit data...
sound Loading commit data...
tools Loading commit data...
usr Loading commit data...
virt Loading commit data...
.clang-format Loading commit data...
.cocciconfig Loading commit data...
.get_maintainer.ignore Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
COPYING Loading commit data...
CREDITS Loading commit data...
Kbuild Loading commit data...
Kconfig Loading commit data...
MAINTAINERS Loading commit data...
Makefile Loading commit data...
README Loading commit data...