public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Tejun Heo <tj@kernel.org>
To: gregkh@linuxfoundation.org
Cc: linux-kernel@vger.kernel.org, neilb@suse.de,
	linus.walleij@linaro.org, ashutosh.dixit@intel.com
Subject: [PATCHSET driver-core-next] kernfs: s/sysfs/kernfs/
Date: Wed, 11 Dec 2013 14:11:52 -0500	[thread overview]
Message-ID: <1386789118-24733-1-git-send-email-tj@kernel.org> (raw)

Hello,

kernfs just got separated out from sysfs and contains a lot of names
carried over from sysfs which are misnomers.  Thanks to the code
movement and large-scale reorganization, kernfs code is already in
full conflict mode with any patches generated against sysfs prior the
separation and in a lot of cases those conflicts won't be simple "file
moved there" conflicts but deeper ones due to the large scale
refactoring which happened for the separation.

We can't really make the situation much worse.  Let's take the chance
and rename things so that the misnomers in kernfs don't cause
confusions in the future.

This patchset contains the following six rename patches.

 0001-kernfs-s-sysfs_dirent-kernfs_node-and-rename-its-fri.patch
 0002-kernfs-drop-s_-prefix-from-kernfs_node-members.patch
 0003-kernfs-s-sysfs-kernfs-in-various-data-structures.patch
 0004-kernfs-s-sysfs-kernfs-in-constants.patch
 0005-kernfs-s-sysfs-kernfs-in-global-variables.patch
 0006-kernfs-s-sysfs-kernfs-in-internal-functions-and-what.patch

While the patches are fairly large, they are all trivial rename
patches.  Nothing else.  There's no functional change to the code base
before and after.

This patchset is based on the current driver-core-next a8b1c0193602
("Documentation: start documenting driver design patterns") and also
available in the following git branch.

 git://git.kernel.org/pub/scm/linux/kernel/git/tj/misc.git review-kernfs-rename

diffstat follows.

 drivers/gpio/gpiolib.c             |    4
 drivers/md/bitmap.c                |    2
 drivers/md/bitmap.h                |    2
 drivers/md/md.h                    |   10
 drivers/misc/mic/host/mic_device.h |    2
 fs/kernfs/dir.c                    |  776 ++++++++++++++++++-------------------
 fs/kernfs/file.c                   |  389 +++++++++---------
 fs/kernfs/inode.c                  |  227 +++++-----
 fs/kernfs/kernfs-internal.h        |   96 ++--
 fs/kernfs/mount.c                  |   56 +-
 fs/kernfs/symlink.c                |  110 ++---
 fs/sysfs/dir.c                     |   66 +--
 fs/sysfs/file.c                    |  132 +++---
 fs/sysfs/group.c                   |   96 ++--
 fs/sysfs/mount.c                   |    4
 fs/sysfs/symlink.c                 |   76 +--
 fs/sysfs/sysfs.h                   |   10
 include/linux/kernfs.h             |  226 +++++-----
 include/linux/kobject.h            |    2
 include/linux/sysfs.h              |   20
 lib/kobject.c                      |    2
 21 files changed, 1154 insertions(+), 1154 deletions(-)

Thanks.

--
tejun

             reply	other threads:[~2013-12-11 19:12 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-11 19:11 Tejun Heo [this message]
2013-12-11 19:11 ` [PATCH 1/6] kernfs: s/sysfs_dirent/kernfs_node/ and rename its friends accordingly Tejun Heo
2013-12-11 21:22   ` Greg KH
2013-12-11 21:27     ` Greg KH
2013-12-12  9:52   ` Linus Walleij
2013-12-11 19:11 ` [PATCH 2/6] kernfs: drop s_ prefix from kernfs_node members Tejun Heo
2013-12-11 19:11 ` [PATCH 3/6] kernfs: s/sysfs/kernfs/ in various data structures Tejun Heo
2013-12-11 19:11 ` [PATCH 4/6] kernfs: s/sysfs/kernfs/ in constants Tejun Heo
2013-12-11 19:11 ` [PATCH 5/6] kernfs: s/sysfs/kernfs/ in global variables Tejun Heo
2013-12-11 19:11 ` [PATCH 6/6] kernfs: s/sysfs/kernfs/ in internal functions and whatever is left Tejun Heo

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=1386789118-24733-1-git-send-email-tj@kernel.org \
    --to=tj@kernel.org \
    --cc=ashutosh.dixit@intel.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linus.walleij@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=neilb@suse.de \
    /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