RE: [PATCH v3] binderfs: fix error return code in binderfs_fill_super()

2019-01-16 Thread weiyongjun (A)
elfernandes.org; christ...@brauner.io > Cc: weiyongjun (A) ; > de...@driverdev.osuosl.org; linux-kernel@vger.kernel.org; kernel- > janit...@vger.kernel.org > Subject: [PATCH v3] binderfs: fix error return code in binderfs_fill_super() > > Fix to return a negative erro

[PATCH v3] binderfs: fix error return code in binderfs_fill_super()

2019-01-16 Thread Wei Yongjun
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 --- v1 -> v2: move 'ret = -ENOMEM' out of if v2 ->