summaryrefslogtreecommitdiffstats
path: root/fs/ext4/xattr.c
diff options
context:
space:
mode:
authorLukas Czerner <lczerner@redhat.com>2011-01-10 18:09:59 +0100
committerTheodore Ts'o <tytso@mit.edu>2011-01-10 18:09:59 +0100
commit932596366760e3f0dac9998665af1c49afcc4285 (patch)
tree61c75c933abc0f8c9e2f8b712f785d39d46919d3 /fs/ext4/xattr.c
parentext4: fix possible overflow in ext4_trim_fs() (diff)
downloadlinux-932596366760e3f0dac9998665af1c49afcc4285.tar.xz
linux-932596366760e3f0dac9998665af1c49afcc4285.zip
ext4: remove warning message from ext4_issue_discard helper
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@redhat.com>
Diffstat (limited to 'fs/ext4/xattr.c')
0 files changed, 0 insertions, 0 deletions