]> git.karo-electronics.de Git - linux-beck.git/commit
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)
commit7203db97b7378c2571797c13aa89327a2c487ea1
treeb712c703825dbfb78d35773f95a837c819750cfe
parente71d1a59e757201454fd3cf66ddaceaf961bfb41
UBIFS: fix return code

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>
fs/ubifs/super.c