diff options
author | Christoph Hellwig <hch@lst.de> | 2022-01-21 22:15:04 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2022-01-22 08:33:38 +0200 |
commit | f328c1d16e4c764992895ac9c9425cea861b2ca0 (patch) | |
tree | a9a7683fa31810eef6e1e6ec4bad3125d948f8dc /mm/folio-compat.c | |
parent | bd9cd521496ba8d537d8f46f4167bf4221aba9a3 (diff) | |
download | linux-f328c1d16e4c764992895ac9c9425cea861b2ca0.tar.bz2 |
frontswap: simplify frontswap_register_ops
Given that frontswap_register_ops must be called from built-in code,
there is no need to handle the case of swapfiles coming online before or
during it, so delete the code that deals with that case.
Link: https://lkml.kernel.org/r/20211224062246.1258487-11-hch@lst.de
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Juergen Gross <jgross@suse.com>
Cc: Dan Streetman <ddstreet@ieee.org>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Hugh Dickins <hughd@google.com>
Cc: Konrad Rzeszutek Wilk <Konrad.wilk@oracle.com>
Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Seth Jennings <sjenning@redhat.com>
Cc: Vitaly Wool <vitaly.wool@konsulko.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/folio-compat.c')
0 files changed, 0 insertions, 0 deletions