https://github.com/torvalds/linux
Revision 280227a75b56ab5d35854f3a77ef74a7ad56a203 authored by Davide Italiano on 03 May 2015, 03:21:15 UTC, committed by Theodore Ts'o on 03 May 2015, 03:21:15 UTC
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
1 parent d2dc317
History
Tip revision: 280227a75b56ab5d35854f3a77ef74a7ad56a203 authored by Davide Italiano on 03 May 2015, 03:21:15 UTC
ext4: move check under lock scope to close a race.
Tip revision: 280227a
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1.2 KB
.mailmap -rw-r--r-- 4.9 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 94.0 KB
Kbuild -rw-r--r-- 2.1 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 297.9 KB
Makefile -rw-r--r-- 53.3 KB
README -rw-r--r-- 18.3 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top