]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit
mke2fs: Use unix_discard() for discards
authorLukas Czerner <lczerner@redhat.com>
Thu, 18 Nov 2010 03:38:40 +0000 (03:38 +0000)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 23 Nov 2010 02:14:28 +0000 (21:14 -0500)
commit7361c08e5da18c8774ffda94931c500490d51846
treeec9674ecc7087dbc9ab1de761baaa2db268fe9ea
parentefa1a355a1e4142b2d057be06931eb8fc0903ba3
mke2fs: Use unix_discard() for discards

There is generic discard function in struct_io_manager, or in
unix_io_manager to be specific. So use this instead of
mke2fs_discard_blocks().

Since mke2fs_discard_blocks() is not used anymore (and should not be)
remove it.

Signed-off-by: Lukas Czerner <lczerner@redhat.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
misc/mke2fs.c