]> Git Repo - linux.git/commit - drivers/xen/tmem.c
frontswap: make frontswap_init use a pointer for the ops
authorKonrad Rzeszutek Wilk <[email protected]>
Tue, 30 Apr 2013 22:26:51 +0000 (15:26 -0700)
committerLinus Torvalds <[email protected]>
Wed, 1 May 2013 00:04:00 +0000 (17:04 -0700)
commit1e01c968db3d0aebd48e31db15f24516b03128df
tree6f8ebed201fdc426a6926b4a2235e8dd2538f025
parent905cd0e1bf9ffe82d6906a01fd974ea0f70be97a
frontswap: make frontswap_init use a pointer for the ops

This simplifies the code in the frontswap - we can get rid of the
'backend_registered' test and instead check against frontswap_ops.

[v1: Rebase on top of 703ba7fe5e0 (ramster->zcache move]
Signed-off-by: Konrad Rzeszutek Wilk <[email protected]>
Signed-off-by: Bob Liu <[email protected]>
Cc: Wanpeng Li <[email protected]>
Cc: Andor Daam <[email protected]>
Cc: Dan Magenheimer <[email protected]>
Cc: Florian Schmaus <[email protected]>
Cc: Minchan Kim <[email protected]>
Cc: Stefan Hengelein <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
drivers/staging/zcache/zcache-main.c
drivers/xen/tmem.c
include/linux/frontswap.h
mm/frontswap.c
This page took 0.056775 seconds and 4 git commands to generate.