summaryrefslogtreecommitdiffstats
path: root/arch/microblaze
diff options
context:
space:
mode:
authorLukas Czerner <lczerner@redhat.com>2012-10-16 11:38:06 +0200
committerDave Kleikamp <dave.kleikamp@oracle.com>2012-10-17 09:18:38 -0500
commit4e7a4b01222343481d8ff084dbef9b80f7089a19 (patch)
tree94f8cb9fdc9053fc7d310708d036461232d5a2ee /arch/microblaze
parent8d2b6b3ae280dcf6f6c7a95623670a57cdf562ed (diff)
downloadblackbird-op-linux-4e7a4b01222343481d8ff084dbef9b80f7089a19.tar.gz
blackbird-op-linux-4e7a4b01222343481d8ff084dbef9b80f7089a19.zip
jfs: Fix FITRIM argument handling
Currently when 'range->start' is beyond the end of file system nothing is done and that fact is ignored, where in fact we should return EINVAL. The same problem is when 'range.len' is smaller than file system block. Fix this by adding check for such conditions and return EINVAL appropriately. Signed-off-by: Lukas Czerner <lczerner@redhat.com> Acked-by: Tino Reichardt <milky-kernel@mcmilk.de> Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com>
Diffstat (limited to 'arch/microblaze')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud