block/ioctl.c and fs/partition/check.c: check value returned by add_partition()
authorAbdel Benamrouche <draconux@gmail.com>
Fri, 25 Jul 2008 08:48:26 +0000 (01:48 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 25 Jul 2008 17:53:44 +0000 (10:53 -0700)
commit04ebd4aee52b06a2c38127d9208546e5b96f3a19
tree25014f06e7bf53ec0b51d717a6a8d0cfb545d985
parentd805dda412346225a50af2d399d958a4bc676c38
block/ioctl.c and fs/partition/check.c: check value returned by add_partition()

Now that add_partition() has been aught to propagate errors, let's check them.

[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: Abdel Benamrouche <draconux@gmail.com>
Cc: Jens Axboe <jens.axboe@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
block/ioctl.c
fs/partitions/check.c