[PATCH] dm snapshot: fix invalidation ENOMEM
Fix ENOMEM error sign. Signed-off-by: Milan Broz <mbroz@redhat.com> Signed-off-by: Alasdair G Kergon <agk@redhat.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
e3f6ac6123
commit
92c060a692
1 changed files with 1 additions and 1 deletions
|
@ -1034,7 +1034,7 @@ static int __origin_write(struct list_head *snapshots, struct bio *bio)
|
|||
|
||||
pe = __find_pending_exception(snap, bio);
|
||||
if (!pe) {
|
||||
__invalidate_snapshot(snap, pe, ENOMEM);
|
||||
__invalidate_snapshot(snap, pe, -ENOMEM);
|
||||
goto next_snapshot;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue