aboutsummaryrefslogtreecommitdiff
path: root/fs/nfsd
diff options
context:
space:
mode:
authorGravatar Geliang Tang <geliangtang@gmail.com> 2016-11-18 23:02:46 +0800
committerGravatar Miklos Szeredi <mszeredi@redhat.com> 2016-12-16 11:02:57 +0100
commit313684c48cc0e450ab303e1f82130ee2d0b50274 (patch)
treedad3e4f69bd80eea599675f79c41c26fa833f80e /fs/nfsd
parentovl: clean up kstat usage (diff)
downloadlinux-313684c48cc0e450ab303e1f82130ee2d0b50274.tar.gz
linux-313684c48cc0e450ab303e1f82130ee2d0b50274.tar.bz2
linux-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 <geliangtang@gmail.com> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs/nfsd')
0 files changed, 0 insertions, 0 deletions