diff options
| author | NeilBrown <[email protected]> | 2006-12-22 09:11:41 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2006-12-22 16:55:51 +0000 |
| commit | 3f9d7b0d810f9fe3dc670901b694a9632b8d62b3 (patch) | |
| tree | fd130bc302aa1f982deecaa3e602872c44a4d2e7 /fs/jbd/commit.c | |
| parent | [PATCH] increase CARDBUS_MEM_SIZE (diff) | |
| download | kernel-3f9d7b0d810f9fe3dc670901b694a9632b8d62b3.tar.gz kernel-3f9d7b0d810f9fe3dc670901b694a9632b8d62b3.zip | |
[PATCH] md: fix a few problems with the interface (sysfs and ioctl) to md
While developing more functionality in mdadm I found some bugs in md...
- When we remove a device from an inactive array (write 'remove' to
the 'state' sysfs file - see 'state_store') would should not
update the superblock information - as we may not have
read and processed it all properly yet.
- initialise all raid_disk entries to '-1' else the 'slot sysfs file
will claim '0' for all devices in an array before the array is
started.
- all '\n' not to be present at the end of words written to
sysfs files
- when we use SET_ARRAY_INFO to set the md metadata version,
set the flag to say that there is persistant metadata.
- allow GET_BITMAP_FILE to be called on an array that hasn't
been started yet.
Signed-off-by: Neil Brown <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'fs/jbd/commit.c')
0 files changed, 0 insertions, 0 deletions
