Skip to content

sysfs backing store (Re-splitted)

Maneesh Soni lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5Add sysfs_dirent to sysfs dentryfs/sysfs/bin.c fs/sysfs/dir.c fs/sysfs/file.c +5 more+169 -241 reply
2/5Use sysfs_dirent tree for ->readdir etc.fs/sysfs/dir.c fs/sysfs/mount.c fs/sysfs/sysfs.h+200 -21 reply
3/5Free sysfs_dirent on file removalfs/sysfs/dir.c fs/sysfs/inode.c+44 -551 reply
4/5Change sysfs_file_operationsfs/sysfs/bin.c fs/sysfs/file.c+31 -141 reply
5/5Stop pinning dentries & inodes for leavesfs/sysfs/bin.c fs/sysfs/dir.c fs/sysfs/file.c +4 more+137 -1051 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] sysfs backing store (Re-splitted)

Hello Andrew,

As per Viro's suggestions I have re-splitted the sysfs backing store patch set. This splitting is more meaningful and it should make the long pending review more interesting. There are no significant changes in the code except some cosmetic code re-arrangement and a couple of real changes in the error paths.

1) In fs/sysfs/dir.c:create_dir(), dput() was missing if we fail in sysfs_new_dirent()

2) Check for kmalloc() return value in fs/sysfs/symlink.c:sysfs_add_link().

I hope Viro will do the review soon. In the mean time I thought it will be nice if you could _replace_ the sysfs patches (six patches with names sysfs-leaves-xxx.patch) with the following patches (mailed separately). I will update them again based on the comments I get.

Thanks
Maneesh

Signature · 6 lines
Maneesh Soni
Linux Technology Center, 
IBM Austin
email: [email protected]
Phone: 1-512-838-1896 Fax: 
T/L : 6781896