summaryrefslogtreecommitdiff
path: root/fs/sync.c
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2009-09-28 00:06:20 -0400
committerTheodore Ts'o <tytso@mit.edu>2009-09-28 00:06:20 -0400
commit71780577306fd1e76c7a92e3b308db624d03adb9 (patch)
tree37c6dac6475dedbef288a11765f9c6733b526fa8 /fs/sync.c
parent1693918e0b6988cf5eb93b7da34f30e94360a379 (diff)
downloadlinux-3.10-71780577306fd1e76c7a92e3b308db624d03adb9.tar.gz
linux-3.10-71780577306fd1e76c7a92e3b308db624d03adb9.tar.bz2
linux-3.10-71780577306fd1e76c7a92e3b308db624d03adb9.zip
ext4: Fix hueristic which avoids group preallocation for closed files
The hueristic was designed to avoid using locality group preallocation when writing the last segment of a closed file. Fix it by move setting size to the maximum of size and isize until after we check whether size == isize. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/sync.c')
0 files changed, 0 insertions, 0 deletions