Skip to content
Commit 88aa3cff authored by Theodore Ts'o's avatar Theodore Ts'o
Browse files

ext4: Use ext4_discard_reservations instead of mballoc-specific call



In ext4_ext_truncate(), we should use the more generic
ext4_discard_reservations() call so we do the right thing when the
filesystem is mounted with the nomballoc option.

Signed-off-by: default avatar"Theodore Ts'o" <tytso@mit.edu>
Reviewed-by: default avatarMingming Cao <cmm@us.ibm.com>
parent d0156417
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment