linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ian Kent <raven@themaw.net>
To: linux-next@vger.kernel.org
Cc: linux-fsdevel <linux-fsdevel@vger.kernel.org>,
	autofs mailing list <autofs@vger.kernel.org>,
	Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: [PATCH 00/10] autofs4 - rename autofs4 to autofs
Date: Sat, 31 Aug 2013 19:42:20 +0800	[thread overview]
Message-ID: <20130831114133.11807.35953.stgit@perseus.themaw.net> (raw)

The autofs4 kernel module provides function for autofs version 3, 4 and
5 and autofs module has long since been removed. Now we're left with a
misnamed module. Appart from the name another problem this presents is
that module autoload doesn't work because of the mismatch of the directory
name and the name of the file system provided by the module.

So autofs4 should be renamed to autofs but I've held back doing it because
of the potential disruption that could occur with a change like this.

The issues are somewhat reduced now because systemd needs the autofs
module at startup, and because of the autoload issue it's easier to just
compile the module into the kernel, which is what is often done.

Changes since the last posting of the series:
- removed the patches that updated the configs to use  CONFIG_AUTOFS_FS
  instead of CONFIG_AUTOFS4_FS, as recommended by Stephen Rothwell.
- Broke up large patches to meet list post size requirements.

By leaving a Kconfig and Makefile in fs/autofs4 (to build autofs4.ko)
with a deprication message sub-system maintainers and other users will
make any needed changes before these are removed after two kernel versions.
IMHO the presence of the warning is reason enough to leave a build stub
rather than do a straight out rename.

Any comments on the rename are welcome.

---

Ian Kent (10):
      autofs4 - coding style fixes
      autofs4 - fix string.h include in auto_dev-ioctl.h
      autofs4 - move linux/auto_dev-ioctl.h to uapi/linux
      autofs - merge auto_fs.h and auto_fs4.h
      autofs - use autofs instead of autofs4 everywhere
      autofs - copy autofs4 to autofs
      autofs - create autofs Kconfig and Makefile
      autofs - update fs/autofs4/Kconfig
      autofs - update fs/autofs4/Makefile
      autofs - delete fs/autofs4


 fs/Kconfig                          |    1 
 fs/Makefile                         |    1 
 fs/autofs/Kconfig                   |   19 +
 fs/autofs/Makefile                  |    7 
 fs/autofs/autofs_i.h                |  341 +++++++++++++
 fs/autofs/dev-ioctl.c               |  759 ++++++++++++++++++++++++++++++
 fs/autofs/expire.c                  |  561 ++++++++++++++++++++++
 fs/autofs/init.c                    |   49 ++
 fs/autofs/inode.c                   |  368 ++++++++++++++
 fs/autofs/root.c                    |  898 +++++++++++++++++++++++++++++++++++
 fs/autofs/symlink.c                 |   21 +
 fs/autofs/waitq.c                   |  570 ++++++++++++++++++++++
 fs/autofs4/Kconfig                  |   30 +
 fs/autofs4/Makefile                 |    4 
 fs/autofs4/autofs_i.h               |  341 -------------
 fs/autofs4/dev-ioctl.c              |  760 ------------------------------
 fs/autofs4/expire.c                 |  562 ----------------------
 fs/autofs4/init.c                   |   52 --
 fs/autofs4/inode.c                  |  371 --------------
 fs/autofs4/root.c                   |  898 -----------------------------------
 fs/autofs4/symlink.c                |   24 -
 fs/autofs4/waitq.c                  |  572 ----------------------
 fs/compat_ioctl.c                   |    1 
 include/linux/auto_dev-ioctl.h      |  229 ---------
 include/linux/auto_fs.h             |    5 
 include/uapi/linux/auto_dev-ioctl.h |  224 +++++++++
 include/uapi/linux/auto_fs.h        |  156 ++++++
 include/uapi/linux/auto_fs4.h       |  158 ------
 28 files changed, 3991 insertions(+), 3991 deletions(-)
 create mode 100644 fs/autofs/Kconfig
 create mode 100644 fs/autofs/Makefile
 create mode 100644 fs/autofs/autofs_i.h
 create mode 100644 fs/autofs/dev-ioctl.c
 create mode 100644 fs/autofs/expire.c
 create mode 100644 fs/autofs/init.c
 create mode 100644 fs/autofs/inode.c
 create mode 100644 fs/autofs/root.c
 create mode 100644 fs/autofs/symlink.c
 create mode 100644 fs/autofs/waitq.c
 delete mode 100644 fs/autofs4/autofs_i.h
 delete mode 100644 fs/autofs4/dev-ioctl.c
 delete mode 100644 fs/autofs4/expire.c
 delete mode 100644 fs/autofs4/init.c
 delete mode 100644 fs/autofs4/inode.c
 delete mode 100644 fs/autofs4/root.c
 delete mode 100644 fs/autofs4/symlink.c
 delete mode 100644 fs/autofs4/waitq.c
 delete mode 100644 include/linux/auto_dev-ioctl.h
 create mode 100644 include/uapi/linux/auto_dev-ioctl.h

-- 
Ian

             reply	other threads:[~2013-08-31 11:42 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-31 11:42 Ian Kent [this message]
2013-08-31 11:42 ` [PATCH 01/10] autofs4 - coding style fixes Ian Kent
2013-08-31 11:42 ` [PATCH 02/10] autofs4 - fix string.h include in auto_dev-ioctl.h Ian Kent
2013-08-31 11:42 ` [PATCH 03/10] autofs4 - move linux/auto_dev-ioctl.h to uapi/linux Ian Kent
2013-08-31 11:42 ` [PATCH 04/10] autofs - merge auto_fs.h and auto_fs4.h Ian Kent
2013-08-31 11:42 ` [PATCH 05/10] autofs - use autofs instead of autofs4 everywhere Ian Kent
2013-08-31 11:42 ` [PATCH 06/10] autofs - copy autofs4 to autofs Ian Kent
2013-08-31 11:42 ` [PATCH 07/10] autofs - create autofs Kconfig and Makefile Ian Kent
2013-08-31 11:43 ` [PATCH 08/10] autofs - update fs/autofs4/Kconfig Ian Kent
2013-08-31 11:43 ` [PATCH 09/10] autofs - update fs/autofs4/Makefile Ian Kent
2013-08-31 11:43 ` [PATCH 10/10] autofs - delete fs/autofs4 Ian Kent
2013-09-03 11:28 ` [PATCH 00/10] autofs4 - rename autofs4 to autofs Michael Tokarev
2013-09-03 12:47   ` Ian Kent

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130831114133.11807.35953.stgit@perseus.themaw.net \
    --to=raven@themaw.net \
    --cc=autofs@vger.kernel.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-next@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).