aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/asn1_compiler.c
diff options
context:
space:
mode:
authorDavide Italiano <[email protected]>2015-05-03 03:21:15 +0000
committerTheodore Ts'o <[email protected]>2015-05-03 03:21:15 +0000
commit280227a75b56ab5d35854f3a77ef74a7ad56a203 (patch)
tree376af76e1cc5edefe88deb6fc6ac7f0d0f83a794 /scripts/asn1_compiler.c
parentext4: fix data corruption caused by unwritten and delayed extents (diff)
downloadkernel-280227a75b56ab5d35854f3a77ef74a7ad56a203.tar.gz
kernel-280227a75b56ab5d35854f3a77ef74a7ad56a203.zip
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 <[email protected]> Signed-off-by: Theodore Ts'o <[email protected]> Cc: [email protected]
Diffstat (limited to 'scripts/asn1_compiler.c')
0 files changed, 0 insertions, 0 deletions