diff options
| author | Sicong Huang <[email protected]> | 2023-10-12 08:34:58 +0000 |
|---|---|---|
| committer | Chuck Lever <[email protected]> | 2023-10-16 16:44:40 +0000 |
| commit | 2ffda63c98f4eb2fdca49a93017bed1ad3ae00e7 (patch) | |
| tree | 166ad70500cfda8a9a3834a4df056c04b82a651e /fs/btrfs/dev-replace.c | |
| parent | NFSD: Fix frame size warning in svc_export_parse() (diff) | |
| download | kernel-2ffda63c98f4eb2fdca49a93017bed1ad3ae00e7.tar.gz kernel-2ffda63c98f4eb2fdca49a93017bed1ad3ae00e7.zip | |
NFSD: clean up alloc_init_deleg()
Modify the conditional statement for null pointer check in the function
'alloc_init_deleg' to make this function more robust and clear. Otherwise,
this function may have potential pointer dereference problem in the future,
when modifying or expanding the nfs4_delegation structure.
Signed-off-by: Sicong Huang <[email protected]>
Reviewed-by: Jeff Layton <[email protected]>
Signed-off-by: Chuck Lever <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions
