Skip to content

sysfs cleanups

Eric W. Biederman containers 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest14 patches 29 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/14sysfs: Remove first pass at shadow directory supportfs/sysfs/dir.c fs/sysfs/group.c fs/sysfs/inode.c +5 more+18 -2320 replies
2/14sysfs: In sysfs_lookup protect s_parent with sysfs_mutexfs/sysfs/dir.c+9 -63 replies
3/14sysfs: Move all of inode initialization into sysfs_init_inodefs/sysfs/dir.c fs/sysfs/inode.c fs/sysfs/mount.c+45 -451 reply
4/14sysfs: Remove unnecessary variable found from sysfs_lookupfs/sysfs/dir.c+2 -51 reply
5/14sysfs: Remove sysfs_instantiatefs/sysfs/dir.c fs/sysfs/inode.c fs/sysfs/sysfs.h+1 -191 reply
6/14sysfs: Rewrite sysfs_get_dentryfs/sysfs/dir.c+49 -6814 replies
7/14vfs: Remove lookup_one_len_kernfs/namei.c include/linux/namei.h+11 -360 replies
8/14sysfs: Perform renames under sysfs_mutexfs/sysfs/dir.c+17 -292 replies
9/14sysfs: Move all of sysfs_move_dir under sysfs_mutexfs/sysfs/dir.c+13 -111 reply
10/14sysfs: Rework sysfs_drop_dentryfs/sysfs/dir.c+12 -221 reply
11/14sysfs: Remove s_dentry form sysfs_dirent.fs/sysfs/dir.c fs/sysfs/mount.c fs/sysfs/sysfs.h+1 -271 reply
12/14sysfs: Make sysfs_mount staticfs/sysfs/dir.c fs/sysfs/mount.c fs/sysfs/symlink.c +1 more+5 -91 reply
13/14sysfs: Simplify readdir.fs/sysfs/dir.c fs/sysfs/inode.c+45 -1351 reply
14/14sysfs: In sysfs_lookup don't open code sysfs_find_direntfs/sysfs/dir.c+1 -42 replies

Reviews trailers per patch

4 of 14 patches have a Reviewed-by or Acked-by.

PatchTejun Heo
1/14
2/14
3/14
4/14
5/14
6/14
7/14
8/14A-b
9/14A-b
10/14
11/14
12/14A-b
13/14
14/14A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/14] sysfs cleanups

Ok. I don't know how alert I am at the moment (it's way past my bed time) but I have been digging in and cleaning up sysfs. I'm not quite to the point of supporting multiple mounts and shadow directories again but the locking is looking much simpler and cleaner. So with a little luck this will be a better base to build on.

If something looks horrible please holler.

Eric