lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 11 Dec 2013 14:11:52 -0500
From:	Tejun Heo <tj@...nel.org>
To:	gregkh@...uxfoundation.org
Cc:	linux-kernel@...r.kernel.org, neilb@...e.de,
	linus.walleij@...aro.org, ashutosh.dixit@...el.com
Subject: [PATCHSET driver-core-next] kernfs: s/sysfs/kernfs/

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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ