ext4: Support discard requests when running in no-journal mode
authorJiaying Zhang <jiayingz@google.com>
Tue, 27 Jul 2010 15:56:05 +0000 (11:56 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 27 Jul 2010 15:56:05 +0000 (11:56 -0400)
commit5c521830cf3dfcf7638d409d8e02ed21020c064f
treee852cf76218a55c8cb1e206f8f2a2fbb971783ea
parent47def82672b3ba4e7c5e9a4fe48a556f8684d0d6
ext4: Support discard requests when running in no-journal mode

Issue discard request in ext4_free_blocks() when ext4 has no journal and
is mounted with discard option.

Signed-off-by: Jiaying Zhang <jiayingz@google.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/mballoc.c