On Wednesday June 25, chris@arachsys.com wrote:
Whilst correcting my rdev resize patch to deal with non-persistent metadata,
I noticed that reading from /sys/block/mdX/md/rdY/super when there isn't a
real superblock causes an oops rather than just returning zero length. The
tiny attached patch fixes this.
You must be using a slightly old kernel. The 'super' sysfs file was removed
on 19th March 2008 and is gone since 2.6.25-rc7.
commit 0e82989d95cc46cc58622381eafa54f7428ee679
Thanks,
NeilBrown