Let the block device know when sectors can be discarded
authorDavid Woodhouse <David.Woodhouse@intel.com>
Tue, 5 Aug 2008 17:05:46 +0000 (18:05 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Thu, 9 Oct 2008 06:56:01 +0000 (08:56 +0200)
commit8c540a96c175bdf55bda8707db04cec78b816454
tree9284128f6789bf5b4f44ec6741792531e8161073
parentfb2dce862d9f9a68e6b9374579056ec9eca02a63
Let the block device know when sectors can be discarded

[hirofumi@mail.parknet.co.jp: discard _after_ checking for corrupt chains]

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Acked-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
fs/fat/fatent.c