slob: No need to zero mapping since it is no longer in use
authorChristoph Lameter <cl@linux.com>
Wed, 13 Jun 2012 15:24:53 +0000 (10:24 -0500)
committerPekka Enberg <penberg@kernel.org>
Thu, 14 Jun 2012 06:19:50 +0000 (09:19 +0300)
Reviewed-by: Joonsoo Kim <js1304@gmail.com>
Acked-by: David Rientjes <rientjes@google.com>
Signed-off-by: Christoph Lameter <cl@linux.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
mm/slob.c

index 30862a2..74c3bb2 100644 (file)
--- a/mm/slob.c
+++ b/mm/slob.c
@@ -97,7 +97,6 @@ typedef struct slob_block slob_t;
 static inline void free_slob_page(struct page *sp)
 {
        reset_page_mapcount(sp);
-       sp->mapping = NULL;
 }
 
 /*