mtd: return success on blktrans_ioctl
authorDan Carpenter <error27@gmail.com>
Mon, 31 May 2010 14:03:38 +0000 (16:03 +0200)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 2 Aug 2010 08:01:47 +0000 (09:01 +0100)
commit007c2d8769139f3c9e99114219d6800aeccdfaef
treeb6b9b4bba2e02629b1daabae6fa7709eeffca0ed
parent8c1a1158c98b810d34b469c787840ac16904e5fa
mtd: return success on blktrans_ioctl

There was a break missing so we returned -ENOTTY on success instead of
zero.  This was introduced by 048d8719956: "mtd: blktrans: Hotplug fixes"

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/mtd_blkdevs.c