aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/filelayout/filelayoutdev.c
diff options
context:
space:
mode:
authorHuang Guobin <[email protected]>2020-11-25 08:39:33 +0000
committerChuck Lever <[email protected]>2020-11-30 19:45:56 +0000
commit231307df246eb29f30092836524ebb1fcb8f5b25 (patch)
treee55837c8b3d28fe64539bab2aa41d017a30a0e01 /fs/nfs/filelayout/filelayoutdev.c
parentNFSD: Add SPDX header for fs/nfsd/trace.c (diff)
downloadkernel-231307df246eb29f30092836524ebb1fcb8f5b25.tar.gz
kernel-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 <[email protected]> Signed-off-by: Chuck Lever <[email protected]>
Diffstat (limited to 'fs/nfs/filelayout/filelayoutdev.c')
0 files changed, 0 insertions, 0 deletions