diff options
author | Huang Guobin <huangguobin4@huawei.com> | 2020-11-25 09:39:33 +0100 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2020-11-30 20:45:56 +0100 |
commit | 231307df246eb29f30092836524ebb1fcb8f5b25 (patch) | |
tree | e55837c8b3d28fe64539bab2aa41d017a30a0e01 /fs/nfs/flexfilelayout/flexfilelayout.c | |
parent | NFSD: Add SPDX header for fs/nfsd/trace.c (diff) | |
download | linux-231307df246eb29f30092836524ebb1fcb8f5b25.tar.xz linux-231307df246eb29f30092836524ebb1fcb8f5b25.zip |
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/flexfilelayout/flexfilelayout.c')
0 files changed, 0 insertions, 0 deletions