Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ovl: fix return value of ovl_fill_super
If kcalloc() failed, the return value of ovl_fill_super() is -EINVAL, not -ENOMEM. So this patch sets this value to -ENOMEM before calling kcalloc(), and sets it back to -EINVAL after calling kcalloc(). Signed-off-by: Geliang Tang <[email protected]> Signed-off-by: Miklos Szeredi <[email protected]>
- Loading branch information