This pull request contains updates for UBI and UBIFS:

	- Use in-tree fault injection framework and add new injection types
	- Fix for a memory leak in the block driver

	- kernel-doc fixes
	- Various minor fixes
ubi: block: fix memleak in ubiblock_create()

If idr_alloc() fails, dev->gd will be put after goto out_cleanup_disk in
ubiblock_create(), but dev->gd has not been assigned yet at this time, and
'gd' will not be put anymore. Fix it by putting 'gd' directly.

Signed-off-by: Li Nan <>
Reviewed-by: Zhihao Cheng <>
Signed-off-by: Richard Weinberger <>
1 file changed