md/raid5: make sure reshape_position is cleared on error path.
authorNeilBrown <neilb@suse.de>
Tue, 13 Mar 2012 00:21:18 +0000 (11:21 +1100)
committerNeilBrown <neilb@suse.de>
Tue, 13 Mar 2012 00:21:18 +0000 (11:21 +1100)
commit1e3fa9bd5061778fb5cf4648e4e8321e8cbbb95b
treede51166f0369e17cc2cb20566b61b7b3c873d7fc
parentfde7d9049e55ab85a390be7f415d74c9f62dd0f9
md/raid5: make sure reshape_position is cleared on error path.

Leaving a valid reshape_position value in place could be confusing.

Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/raid5.c