]> err.no Git - linux-2.6/commit
md: remove the 'super' sysfs attribute from devices in an 'md' array
authorNeilBrown <neilb@suse.de>
Thu, 20 Mar 2008 00:00:44 +0000 (17:00 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 20 Mar 2008 01:53:35 +0000 (18:53 -0700)
commit0e82989d95cc46cc58622381eafa54f7428ee679
treebbf94838940302b2e4683c224cd5c6d176b658ff
parent43d8eac44f28d384d2377dcdd1407f51f79dda55
md: remove the 'super' sysfs attribute from devices in an 'md' array

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>
drivers/md/md.c