Skip to content
Commit 231307df authored by Huang Guobin's avatar Huang Guobin Committed by Chuck Lever
Browse files

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: 65294c1f

("nfsd: add a new struct file caching facility to nfsd")
Signed-off-by: default avatarHuang Guobin <huangguobin4@huawei.com>
Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
parent f45a444c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment