linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mm/swapfile.c
@ 2001-05-16 17:22 Thiago Rondon
  0 siblings, 0 replies; only message in thread
From: Thiago Rondon @ 2001-05-16 17:22 UTC (permalink / raw)
  To: linux-mm

when we do "goto bad_count", we dont need to do 
swap_list_unlock();

--- swapfile.c.orig     Wed May 16 13:17:32 2001
+++ swapfile.c  Wed May 16 13:18:12 2001
@@ -134,7 +134,7 @@
 bad_count:
        printk(KERN_ERR "get_swap_page: bad count %hd from %p\n",
               count, __builtin_return_address(0));
-       goto out;
+       return entry;
 }

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-05-16 17:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-16 17:22 [PATCH] mm/swapfile.c Thiago Rondon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox