commit | 7e7ca7744a539f1a172e3b81c29d000787e3d774 | [log] [tgz] |
---|---|---|
author | Wei Yongjun <weiyongjun1@huawei.com> | Wed Jan 16 10:42:59 2019 +0000 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Jan 18 14:14:14 2019 +0100 |
tree | 545160bf690a309ac5041f67e145f3029c65db09 | |
parent | f7ee8ead151f9d0b8dac6ab6c3ff49bbe809c564 [diff] |
binderfs: fix error return code in binderfs_fill_super() Fix to return a negative error code -ENOMEM from the new_inode() and d_make_root() error handling cases instead of 0, as done elsewhere in this function. Fixes: 849d540ddfcd ("binderfs: implement "max" mount option") Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Reviewed-by: Christian Brauner <christian@brauner.io> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>