diff options
author | Huang Guobin <huangguobin4@huawei.com> | 2020-11-25 03:39:33 -0500 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2020-11-30 14:45:56 -0500 |
commit | 231307df246eb29f30092836524ebb1fcb8f5b25 (patch) | |
tree | e55837c8b3d28fe64539bab2aa41d017a30a0e01 /fs/nfs | |
parent | f45a444cfe582b85af937a30d35d68d9a84399dd (diff) |
nfsd: Fix error return code in nfsd_file_cache_init()
Fix to return PTR_ERR() error code from the error handling case instead of
0 in function nfsd_file_cache_init(), as done elsewhere in this function.
Fixes: 65294c1f2c5e7("nfsd: add a new struct file caching facility to nfsd")
Signed-off-by: Huang Guobin <huangguobin4@huawei.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'fs/nfs')
0 files changed, 0 insertions, 0 deletions