summaryrefslogtreecommitdiffstats
path: root/fs/jfs/jfs_xattr.h
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2005-11-09 06:39:39 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2005-11-09 16:56:39 +0100
commit96de1e663cda65ba9275afb1bc007f34e5068ba1 (patch)
treeb927dda4f0f2d2669658f5974a848d9f701f330b /fs/jfs/jfs_xattr.h
parent[PATCH] md: make sure a user-request sync of raid5 ignores intent bitmap (diff)
downloadlinux-96de1e663cda65ba9275afb1bc007f34e5068ba1.tar.xz
linux-96de1e663cda65ba9275afb1bc007f34e5068ba1.zip
[PATCH] md: fix some locking and module refcounting issues with md's use of sysfs
1/ I really should be using the __ATTR macros for defining attributes, so that the .owner field get set properly, otherwise modules can be removed while sysfs files are open. This also involves some name changes of _show routines. 2/ Always lock the mddev (against reconfiguration) for all sysfs attribute access. This easily avoid certain races and is completely consistant with other interfaces (ioctl and /proc/mdstat both always lock against reconfiguration). 3/ raid5 attributes must check that the 'conf' structure actually exists (the array could have been stopped while an attribute file was open). 4/ A missing 'kfree' from when the raid5_conf_t was converted to have a kobject embedded, and then converted back again. Signed-off-by: Neil Brown <neilb@suse.de> Acked-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/jfs/jfs_xattr.h')
0 files changed, 0 insertions, 0 deletions