mtd_blkdevs: Set the maximum discards size
authorJarkko Lavinen <jarkko.lavinen@nokia.com>
Mon, 14 Feb 2011 14:16:10 +0000 (16:16 +0200)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 11 Mar 2011 14:22:46 +0000 (14:22 +0000)
commit115ee88c15b55859a8b59c5dccb3882bbd47e542
tree12eea6cd84f3af3b0672e29edfa310f121623a8c
parentc7519dbf6f4b4408229d279d799c938ffdd06f21
mtd_blkdevs: Set the maximum discards size

Set max_discard_sectors to UINT_MAX.

Signed-off-by: Jarkko Lavinen <jarkko.lavinen@nokia.com>
Tested-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/mtd_blkdevs.c