From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-f179.google.com ([209.85.192.179]:35821 "EHLO mail-pf0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751096AbeEPRyU (ORCPT ); Wed, 16 May 2018 13:54:20 -0400 Received: by mail-pf0-f179.google.com with SMTP id x9-v6so736934pfm.2 for ; Wed, 16 May 2018 10:54:20 -0700 (PDT) From: Omar Sandoval Subject: [PATCH v3 0/2] iomap: swapfile tweaks Date: Wed, 16 May 2018 10:54:09 -0700 Message-Id: Sender: linux-xfs-owner@vger.kernel.org List-ID: List-Id: xfs To: "Darrick J . Wong" , linux-xfs@vger.kernel.org Cc: linux-fsdevel@vger.kernel.org, Jan Kara , Christoph Hellwig , Aleksei Besogonov , kernel-team@fb.com From: Omar Sandoval 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