[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAOQ4uxhY28otTkkkN7=2QQaONu6GwLcePE=q6J+po9Fv=HXFSw@mail.gmail.com>
Date: Tue, 28 Apr 2020 05:35:10 +0300
From: Amir Goldstein <amir73il@...il.com>
To: Christoph Hellwig <hch@....de>
Cc: Ext4 <linux-ext4@...r.kernel.org>,
Al Viro <viro@...iv.linux.org.uk>, Jan Kara <jack@...e.cz>,
Theodore Tso <tytso@....edu>,
Andreas Dilger <adilger@...ger.ca>,
Ritesh Harjani <riteshh@...ux.ibm.com>,
linux-fsdevel <linux-fsdevel@...r.kernel.org>,
overlayfs <linux-unionfs@...r.kernel.org>
Subject: Re: [PATCH 08/11] fs: move fiemap range validation into the file
systems instances
On Mon, Apr 27, 2020 at 9:20 PM Christoph Hellwig <hch@....de> wrote:
>
> Replace fiemap_check_flags with a fiemap_validate helpers that also takes
Leftover fiemap_validate
> the inode and mapped range, and performs the sanity check and truncation
> previously done in fiemap_check_range. This way the validation is inside
> the file system itself and thus properly works for the stacked overlayfs
> case as well.
>
> Signed-off-by: Christoph Hellwig <hch@....de>
Reviewed-by: Amir Goldstein <amir73il@...il.com>
Thanks for fixing this,
Amir.
Powered by blists - more mailing lists