Skip to content
Commit 04ebd4ae authored by Abdel Benamrouche's avatar Abdel Benamrouche Committed by Linus Torvalds
Browse files

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: default avatarAbdel Benamrouche <draconux@gmail.com>
Cc: Jens Axboe <jens.axboe@oracle.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent d805dda4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment