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>
(cherry picked from commit 7e7ca7744a539f1a172e3b81c29d000787e3d774)
Loading
Please register or sign in to comment