diff options
author | Davide Italiano <dccitaliano@gmail.com> | 2015-05-03 06:21:15 +0300 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2015-05-03 06:21:15 +0300 |
commit | 280227a75b56ab5d35854f3a77ef74a7ad56a203 (patch) | |
tree | 376af76e1cc5edefe88deb6fc6ac7f0d0f83a794 /arch/arm/boot/dts/exynos4212.dtsi | |
parent | d2dc317d564a46dfc683978a2e5a4f91434e9711 (diff) | |
download | linux-280227a75b56ab5d35854f3a77ef74a7ad56a203.tar.xz |
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
Diffstat (limited to 'arch/arm/boot/dts/exynos4212.dtsi')
0 files changed, 0 insertions, 0 deletions