staging: zcache: cleanup the code between tmem_obj_init and tmem_obj_find
authorXiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Tue, 26 Jun 2012 08:52:50 +0000 (16:52 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 9 Jul 2012 18:31:16 +0000 (11:31 -0700)
commitc666e636ac9915f33fe175c75bc01ab994e5afa6
tree11a178be5ee53c9f91eb4be3eb002e4fae66c435
parent08b0b50048cea27437e06a5544b4ecc443a32f7d
staging: zcache: cleanup the code between tmem_obj_init and tmem_obj_find

tmem_obj_find and insertion tmem-obj have the some logic, we can integrate
the code

Signed-off-by: Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Acked-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/zcache/tmem.c