aboutsummaryrefslogtreecommitdiff
path: root/fs/jbd2/recovery.c
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2009-06-09 09:54:40 -0400
committerTheodore Ts'o <tytso@mit.edu>2009-06-09 09:54:40 -0400
commit0eab928221bac8895a0b494a16a8810002bd8645 (patch)
tree733ca0ee831fffb3fd2c96b6715250e79e7a24fa /fs/jbd2/recovery.c
parent9aee2286071c23c535fe9928eec1a26e0bcf256d (diff)
ext4: Don't treat a truncation of a zero-length file as replace-via-truncate
If a non-existent file is opened via O_WRONLY|O_CREAT|O_TRUNC, there's no need to treat this as a true file truncation, so we shouldn't activate the replace-via-truncate hueristic. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/jbd2/recovery.c')
0 files changed, 0 insertions, 0 deletions