summaryrefslogtreecommitdiff
path: root/fs/ext4/mballoc.h
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2008-10-16 10:06:27 -0400
committerTheodore Ts'o <tytso@mit.edu>2008-10-16 10:06:27 -0400
commit8a0aba733db1adb5e1f0e828889a18f4c1c512de (patch)
treee66c57f34cdb28c45c34dfc63a93c72791316fe0 /fs/ext4/mballoc.h
parenta1aebc1e2da9a7bee4ff8cce510b08f469d1929e (diff)
downloadlinux-3.10-8a0aba733db1adb5e1f0e828889a18f4c1c512de.tar.gz
linux-3.10-8a0aba733db1adb5e1f0e828889a18f4c1c512de.tar.bz2
linux-3.10-8a0aba733db1adb5e1f0e828889a18f4c1c512de.zip
ext4: let the block device know when unused blocks can be discarded
Let the block device know when unused blocks can be discarded, using the new sb_issue_discard() interface. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/mballoc.h')
-rw-r--r--fs/ext4/mballoc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/ext4/mballoc.h b/fs/ext4/mballoc.h
index 9e815c4e37d..94cb7b9fe3e 100644
--- a/fs/ext4/mballoc.h
+++ b/fs/ext4/mballoc.h
@@ -18,6 +18,8 @@
#include <linux/pagemap.h>
#include <linux/seq_file.h>
#include <linux/version.h>
+#include <linux/blkdev.h>
+#include <linux/marker.h>
#include "ext4_jbd2.h"
#include "ext4.h"
#include "group.h"