commit | c2ea3fde61f1df1dbf062345f23277dcd6f01dfe | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Fri Oct 10 09:40:52 2008 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Fri Oct 10 09:40:52 2008 -0400 |
tree | 53ecbf57416326810540494e814c05753bf30874 | |
parent | 240799cdf22bd789ea6852653c3b879d35ad0a6c [diff] [blame] |
ext4: Remove old legacy block allocator Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
diff --git a/fs/ext4/file.c b/fs/ext4/file.c index 11b289f..62796b7 100644 --- a/fs/ext4/file.c +++ b/fs/ext4/file.c
@@ -38,7 +38,7 @@ (atomic_read(&inode->i_writecount) == 1)) { down_write(&EXT4_I(inode)->i_data_sem); - ext4_discard_reservation(inode); + ext4_discard_preallocations(inode); up_write(&EXT4_I(inode)->i_data_sem); } if (is_dx(inode) && filp->private_data)