diff options
author | Theodore Ts'o <tytso@mit.edu> | 2010-10-28 01:23:12 (GMT) |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2010-10-28 01:23:12 (GMT) |
commit | 58590b06d79f7ce5ab64ff3b6d537180fa50dc84 (patch) | |
tree | 4e3c785e4ec6709385f62b741389de34a9ade279 /include | |
parent | 899611ee7d373e5eeda08e9a8632684e1ebbbf00 (diff) | |
download | linux-58590b06d79f7ce5ab64ff3b6d537180fa50dc84.tar.xz |
ext4: fix EOFBLOCKS_FL handling
It turns out we have several problems with how EOFBLOCKS_FL is
handled. First of all, there was a fencepost error where we were not
clearing the EOFBLOCKS_FL when fill in the last uninitialized block,
but rather when we allocate the next block _after_ the uninitalized
block. Secondly we were not testing to see if we needed to clear the
EOFBLOCKS_FL when writing to the file O_DIRECT or when were converting
an uninitialized block (which is the most common case).
Google-Bug-Id: 2928259
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions