public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCHSET driver-core-next] kernfs: s/sysfs/kernfs/
@ 2013-12-11 19:11 Tejun Heo
  2013-12-11 19:11 ` [PATCH 1/6] kernfs: s/sysfs_dirent/kernfs_node/ and rename its friends accordingly Tejun Heo
                   ` (5 more replies)
  0 siblings, 6 replies; 10+ messages in thread
From: Tejun Heo @ 2013-12-11 19:11 UTC (permalink / raw)
  To: gregkh; +Cc: linux-kernel, neilb, linus.walleij, ashutosh.dixit

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2013-12-12  9:52 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-11 19:11 [PATCHSET driver-core-next] kernfs: s/sysfs/kernfs/ Tejun Heo
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox