On Tue, Nov 23, 2010 at 07:42:03PM +0100, Lukas Czerner wrote: > ext4_issue_discard is supposed to be helper for calling discard, however > in case that underlying device does not support discard it prints out > the warning message and clears the DISCARD t_mount_opt flag. Since it > can be (and is) used by others, it should not do anything and let the > caller to handle the error case. > > This commit removes warning message and flag setting from > ext4_issue_discard and use it just in place where it is really needed > (release_blocks_on_commit). FITRIM ioctl should not set any flags nor it > should print out warning messages, so get rid of the warning as well. > > Signed-off-by: Lukas Czerner <lczerner@xxxxxxxxxx> Added to the ext4 patch queue, thanks for the ping. - Ted -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html