[PATCH] staging: ozwpan: remove unneeded __GFP_ZERO to kzalloc() at oz_elt_stream_create()

2013-11-01 Thread Jeff Liu
From: Jie Liu Get rid of the needless __GFP_ZERO flag for kzalloc() at oz_elt_stream_create(). Signed-off-by: Jie Liu --- drivers/staging/ozwpan/ozeltbuf.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/ozwpan/ozeltbuf.c b/drivers/staging/ozwpan/ozeltbu

[PATCH] staging/zcache: Fix memory leak while dropping an o2net_sock_container object

2013-08-04 Thread Jeff Liu
From: Jie Liu Free sc->sc_page when releasing a struct o2net_sock_container object to avoid memory leaks. This issue has been fixed by Younger Liu for OCFS2, so I sync that patch to zcache as we share the same network code base. Cc: Younger Liu Cc: Bob Liu Cc: Greg Kroah-Hartman Cc: Konrad R