commit | aa07cb79b0a38d9d8407c5631624ef8534bdde3f | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Sun Feb 27 20:09:54 2011 -0500 |
committer | Theodore Ts'o <tytso@mit.edu> | Sun Feb 27 20:09:54 2011 -0500 |
tree | 887450721a1fa0309daac0c929f1f929103dbcb1 | |
parent | 829d9994880394e48c883510799b1536812d6efb [diff] |
mke2fs: If the device supports discard, don't print an error message Check to see if the device supports discard before starting the progress bar, and then printing an error about inappropriate ioctl for device (when creating a file system image to a file, for example). Also, add a function signature in the ext2_io.h header file for io_channel_discard() and fix an extra, uneeded argument in mke2fs's call to that function. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>