[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20150503032145.GF10014@thunk.org>
Date: Sat, 2 May 2015 23:21:45 -0400
From: Theodore Ts'o <tytso@....edu>
To: Davide Italiano <dccitaliano@...il.com>
Cc: linux-ext4@...r.kernel.org
Subject: Re: [PATCH] ext4: Move check under lock scope to close a race.
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@...il.com>
Thanks, applied.
- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists