Searched hist:d287483d6d7a2d5b313aee155285f89b57d9cd4a (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/md/ |
H A D | dm.c | diff d287483d6d7a2d5b313aee155285f89b57d9cd4a Wed Nov 08 19:44:43 CST 2006 Alasdair G Kergon <agk@redhat.com> [PATCH] dm: suspend: fix error path
If the device is already suspended, just return the error and skip the code that would incorrectly wipe md->suspended_bdev.
(This isn't currently a problem because existing code avoids calling this function if the device is already suspended.)
Signed-off-by: Alasdair G Kergon <agk@redhat.com> Cc: <dm-devel@redhat.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|