[GIT PATCH] sysfs fixes for 2.6.22-rc4

From: Greg KH
Date: Tue Jun 12 2007 - 19:22:44 EST


Here are some sysfs fixes for 2.6.22-rc4

They are based on a set of patches from Tejun that have been in the -mm
tree for a while and fix a nasty sysfs problem that people have been
hitting in the real world (Google has hit this a lot and spent a lot of
time and effort in tracking this down, I'd really like to say thanks for
the help here.)

Tejun and Eric have backported a small set of patches that fix this for
your current tree, with the larger, more intrusive patches queued up for
after 2.6.22 is out.

Tejun and I have beat on these patches a lot and have not found any
problems. I know it's late in the series for them, but under the
circumstances, it seems reasonable.

Please pull from:
master.kernel.org:/pub/scm/linux/kernel/git/gregkh/driver-2.6.git/

Patches will be sent as a follow-on to this message to lkml for people
to see.

thanks,

greg k-h


fs/sysfs/dir.c | 38 +++++++++++++++++++++++++++++++-------
fs/sysfs/inode.c | 21 +++++++++++++++++++--
fs/sysfs/mount.c | 1 +
fs/sysfs/sysfs.h | 2 ++
4 files changed, 53 insertions(+), 9 deletions(-)

---------------

Eric Sandeen (1):
sysfs: store sysfs inode nrs in s_ino to avoid readdir oopses

Tejun Heo (2):
sysfs: fix condition check in sysfs_drop_dentry()
sysfs: fix race condition around sd->s_dentry, take#2

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