summaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
authorLukas Czerner <lczerner@redhat.com>2012-11-08 14:04:52 -0500
committerTheodore Ts'o <tytso@mit.edu>2012-11-08 14:04:52 -0500
commitd71c1ae23aa3e7822715c63dc242de6d73002541 (patch)
tree61612cbcf814402d4e82f5f452d59e4d7547bd68 /drivers/video
parent79add3a3f795e688e35d5e703d5a8cfa8ef923ac (diff)
downloadop-kernel-dev-d71c1ae23aa3e7822715c63dc242de6d73002541.zip
op-kernel-dev-d71c1ae23aa3e7822715c63dc242de6d73002541.tar.gz
ext4: warn when discard request fails other than EOPNOTSUPP
We should warn user then the discard request fails. However we need to exclude -EOPNOTSUPP case since parts of the device might not support it while other parts can. So print the kernel warning when the error != -EOPNOTSUPP is returned from ext4_issue_discard(). We should also handle error cases in batched discard, again excluding EOPNOTSUPP. Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com> Signed-off-by: Lukas Czerner <lczerner@redhat.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'drivers/video')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud