Davide Italiano 280227a75b ext4: move check under lock scope to close a race.
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>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Cc: stable@vger.kernel.org
2015-05-02 23:21:15 -04:00
..
2015-04-02 23:47:42 -04:00
2015-04-02 23:47:42 -04:00
2014-09-11 11:15:15 -04:00
2015-04-02 23:47:42 -04:00
2015-04-02 23:47:42 -04:00
2014-02-20 13:32:10 -05:00