diff options
| author | Geliang Tang <[email protected]> | 2016-11-18 15:02:46 +0000 |
|---|---|---|
| committer | Miklos Szeredi <[email protected]> | 2016-12-16 10:02:57 +0000 |
| commit | 313684c48cc0e450ab303e1f82130ee2d0b50274 (patch) | |
| tree | dad3e4f69bd80eea599675f79c41c26fa833f80e /net/unix/af_unix.c | |
| parent | ovl: clean up kstat usage (diff) | |
| download | kernel-313684c48cc0e450ab303e1f82130ee2d0b50274.tar.gz kernel-313684c48cc0e450ab303e1f82130ee2d0b50274.zip | |
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]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
