Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 794e64d5 authored by Neil Brown's avatar Neil Brown Committed by Linus Torvalds
Browse files

Fix NULL dereference in umem.c



Fix NULL dereference in umem.c

Signed-off-by: default avatarNeil Brown <neilb@suse.de>
Tested-by: default avatarDave Chinner <dgc@sgi.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 76832d84
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -484,6 +484,7 @@ static void process_page(unsigned long data)
		page->idx++;
		if (page->idx >= bio->bi_vcnt) {
			page->bio = bio->bi_next;
			if (page->bio)
				page->idx = page->bio->bi_idx;
		}