From: Omar Sandoval <osandov@xxxxxx> Changes from v2: - Move up inline flag check, which Christoph is going to turn into a type at some point - Remove null address check, since it doesn't make sense for IOMAP_MAPPED or IOMAP_UNWRITTEN Omar Sandoval (2): iomap: provide more useful errors for invalid swap files iomap: don't allow holes in swapfiles fs/iomap.c | 43 +++++++++++++++++++++++-------------------- 1 file changed, 23 insertions(+), 20 deletions(-) -- 2.17.0