projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3f6ac6
)
[PATCH] dm snapshot: fix invalidation ENOMEM
author
Milan Broz
<mbroz@redhat.com>
Tue, 3 Oct 2006 08:15:24 +0000
(
01:15
-0700)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Tue, 3 Oct 2006 15:04:14 +0000
(08:04 -0700)
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>
drivers/md/dm-snap.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/md/dm-snap.c
b/drivers/md/dm-snap.c
index 1d0fafda0f761abb3630bd180f628dd7dfbbbc4d..7c14867b5903e6cac0f6360a0633aed2cdfb9aeb 100644
(file)
--- a/
drivers/md/dm-snap.c
+++ b/
drivers/md/dm-snap.c
@@
-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;
}