]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
md: remove the 'super' sysfs attribute from devices in an 'md' array
authorNeilBrown <neilb@suse.de>
Tue, 25 Mar 2008 04:21:26 +0000 (21:21 -0700)
committerChris Wright <chrisw@sous-sol.org>
Sat, 19 Apr 2008 01:53:19 +0000 (18:53 -0700)
commit3931f1aa4d1cd87a889235edc3eee7ceb5f73de4
tree8ba23c302d1c0783874edd68154446df6553faf1
parenta98ac15765353742ddff62e5ee1e46874742e1f1
md: remove the 'super' sysfs attribute from devices in an 'md' array

upstream commit: 0e82989d95cc46cc58622381eafa54f7428ee679

Exposing the binary blob which is the md 'super-block' via sysfs doesn't
really fit with the whole sysfs model, and ever since commit
8118a859dc7abd873193986c77a8d9bdb877adc8 ("sysfs: fix off-by-one error
in fill_read_buffer()") it doesn't actually work at all (as the size of
the blob is often one page).

(akpm: as in, fs/sysfs/file.c:fill_read_buffer() goes BUG)

So just remove it altogether.  It isn't really useful.

Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
drivers/md/md.c