Re: [PATCH 01/10] autofs4 - merge auto_fs.h and auto_fs4.h

From: Al Viro
Date: Sun May 13 2018 - 23:15:34 EST


On Mon, May 14, 2018 at 11:03:50AM +0800, Ian Kent wrote:
> The autofs module has long since been removed so there's no need to have
> two separate include files for autofs.

Umm... Why does fs/compat_ioctl.c need either include, actually?

> --- a/fs/compat_ioctl.c
> +++ b/fs/compat_ioctl.c
> @@ -39,7 +39,6 @@
> #include <linux/if_pppox.h>
> #include <linux/mtio.h>
> #include <linux/auto_fs.h>
> -#include <linux/auto_fs4.h>
> #include <linux/tty.h>
> #include <linux/vt_kern.h>
> #include <linux/fb.h>

AFAICS, we can just delete both. Matter of fact, a *lot* of those includes are
pointless nowadays...