UBI: cleanup ioctl handling
commitbf07803a6827ef8d4c9d840a1de800ba36db0213
authorChristoph Hellwig <hch@lst.de>
Thu, 17 May 2007 14:32:10 +0000 (17 16:32 +0200)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Wed, 18 Jul 2007 13:53:36 +0000 (18 16:53 +0300)
tree35634c88d81dbacc2b12db25755845370d6f7e59
parent16d8cd7ce408a20db1ab192e0fb565573e446b28
UBI: cleanup ioctl handling

- don't do access_ok + get/put user but use the proper macro
- remove useless checks

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
drivers/mtd/ubi/cdev.c