ext4: Use return value from sb_issue_discard()
authorLukas Czerner <lczerner@redhat.com>
Thu, 28 Oct 2010 01:30:11 +0000 (21:30 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 28 Oct 2010 01:30:11 +0000 (21:30 -0400)
commit77ca6cdf0ab8a42f481ec997911bc89e79138723
tree30f6cb268a3b4cad391e5784557b2c6432b52691
parent877836905da55e8f2426234f42a89287184949e9
ext4: Use return value from sb_issue_discard()

Use return value from sb_issue_discard() as return value in
ext4_issue_discard(). Since sb_issue_discard() may result in more
serious errors than just -EOPNOTSUPP it is worth to inform user of this
function about them to handle error cases properly.

Signed-off-by: Lukas Czerner <lczerner@redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/mballoc.c