summaryrefslogtreecommitdiff
path: root/lib/locking-selftest-rlock.h
diff options
context:
space:
mode:
authorAlasdair G Kergon <agk@redhat.com>2006-11-09 04:44:43 +0300
committerLinus Torvalds <torvalds@g5.osdl.org>2006-11-09 05:29:23 +0300
commitd287483d6d7a2d5b313aee155285f89b57d9cd4a (patch)
tree63c0a47618b9efb465c6abb584a93214e0850485 /lib/locking-selftest-rlock.h
parentbfc5ecdf48b529f6a2bd98ba26bfac39ca8cd8a5 (diff)
downloadlinux-d287483d6d7a2d5b313aee155285f89b57d9cd4a.tar.xz
[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>
Diffstat (limited to 'lib/locking-selftest-rlock.h')
0 files changed, 0 insertions, 0 deletions