UBIFS: fix return code
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Fri, 7 Jun 2013 02:17:22 +0000 (10:17 +0800)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Sat, 26 Oct 2013 10:11:59 +0000 (11:11 +0100)
Fix to return -ENOMEM in the kmalloc() and d_make_root() error handling
case instead of 0, as done elsewhere in those functions.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>

No differences found