]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
ext4: Use ext4_discard_reservations instead of mballoc-specific call
authorTheodore Ts'o <tytso@mit.edu>
Sat, 16 Aug 2008 11:57:35 +0000 (07:57 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 16 Aug 2008 11:57:35 +0000 (07:57 -0400)
commit88aa3cff4e9a38b953de9fbc54c96e619a2bb9f9
tree2905089c0d20ef7a6017d40acbe887148f3cd1fa
parentd015641734cde55d2fce48a6db3983c8a029fe05
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: "Theodore Ts'o" <tytso@mit.edu>
Reviewed-by: Mingming Cao <cmm@us.ibm.com>
fs/ext4/extents.c