From: Theodore Ts'o <tytso@mit.edu>
To: Davide Italiano <dccitaliano@gmail.com>
Cc: linux-ext4@vger.kernel.org
Subject: Re: [PATCH] ext4: Move check under lock scope to close a race.
Date: Sat, 2 May 2015 23:21:45 -0400 [thread overview]
Message-ID: <20150503032145.GF10014@thunk.org> (raw)
In-Reply-To: <1428468410-12793-2-git-send-email-dccitaliano@gmail.com>
On Tue, Apr 07, 2015 at 09:46:50PM -0700, Davide Italiano wrote:
> fallocate() checks that the file is extent-based and returns
> EOPNOTSUPP in case is not. Other tasks can convert from and to
> indirect and extent so it's safe to check only after grabbing
> the inode mutex.
>
> Signed-off-by: Davide Italiano <dccitaliano@gmail.com>
Thanks, applied.
- Ted
prev parent reply other threads:[~2015-05-03 3:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-08 4:46 [PATCH] ext4: move check under lock to avoid race Davide Italiano
2015-04-08 4:46 ` [PATCH] ext4: Move check under lock scope to close a race Davide Italiano
2015-04-20 20:50 ` Davide Italiano
2015-05-03 3:21 ` 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=20150503032145.GF10014@thunk.org \
--to=tytso@mit.edu \
--cc=dccitaliano@gmail.com \
--cc=linux-ext4@vger.kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).