]> git.ipfire.org Git - thirdparty/mdadm.git/commit - super0.c
[PATCH] Make sure update_super returns correct value.
authorNeil Brown <neilb@suse.de>
Fri, 28 Apr 2006 04:10:38 +0000 (14:10 +1000)
committerNeil Brown <neilb@suse.de>
Fri, 28 Apr 2006 04:10:38 +0000 (14:10 +1000)
commitc4d831e164da10be75f915f9e06c529e90f55da9
treeb3ebaa1dfbd810d7a5d0da1c19601646fdf01511
parent7fa42a0b5e4541b7178c848229fcb7e98696babe
[PATCH] Make sure update_super returns correct value.

For 'force' and 'assemble', update_super must return true
if anything was changed.

Also fix a bug with wonly handling in super0.

Signed-off-by: Neil Brown <neilb@suse.de>
### Diffstat output
 ./super0.c |   18 ++++++++++++++----
 ./super1.c |    7 +++++++
 2 files changed, 21 insertions(+), 4 deletions(-)

diff ./super0.c~current~ ./super0.c
super0.c
super1.c