From: Theodore Ts'o <tytso@mit.edu>
To: "Darrick J. Wong" <darrick.wong@oracle.com>
Cc: linux-ext4@vger.kernel.org, Mateusz S <muttdini@gmail.com>
Subject: Re: [PATCH] ext4: in ext4_seek_{hole,data}, return -ENXIO for negative offsets
Date: Thu, 24 Aug 2017 13:27:20 -0400 [thread overview]
Message-ID: <20170824172720.3inhcbeoozw2rdhh@thunk.org> (raw)
In-Reply-To: <20170712173232.GB4212@magnolia>
On Wed, Jul 12, 2017 at 10:32:32AM -0700, Darrick J. Wong wrote:
> NOTE: The pending iomap SEEK_HOLE/DATA conversion patch will make all this
> obsolete; this is a fix more appropriate for pre-4.13 ext4.
> ---
> In the ext4 implementations of SEEK_HOLE and SEEK_DATA, make sure we
> return -ENXIO for negative offsets instead of banging around inside
> the extent code and returning -EFSCORRUPTED.
>
> Reported-by: Mateusz S <muttdini@gmail.com>
> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Sorry, I missed this patch earlier. It's not going to make the 4.13
final, but I'll apply it with a "cc: stable@vger.kernel.org # 4.6" tag
so it can land in 4.13.x as well as older LTS kernels.
- Ted
prev parent reply other threads:[~2017-08-24 17:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-12 17:32 [PATCH] ext4: in ext4_seek_{hole,data}, return -ENXIO for negative offsets Darrick J. Wong
2017-08-24 17:27 ` Theodore Ts'o [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170824172720.3inhcbeoozw2rdhh@thunk.org \
--to=tytso@mit.edu \
--cc=darrick.wong@oracle.com \
--cc=linux-ext4@vger.kernel.org \
--cc=muttdini@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox