diff options
| author | Al Viro <[email protected]> | 2024-02-13 03:44:11 +0000 |
|---|---|---|
| committer | Al Viro <[email protected]> | 2024-02-20 07:09:02 +0000 |
| commit | 2c88c16dc20e88dd54d2f6f4d01ae1dce6cc9654 (patch) | |
| tree | be221a16f9ef29e552d71b6c1fbd4eec33e9424c /rust/helpers.c | |
| parent | Revert "get rid of DCACHE_GENOCIDE" (diff) | |
| download | kernel-2c88c16dc20e88dd54d2f6f4d01ae1dce6cc9654.tar.gz kernel-2c88c16dc20e88dd54d2f6f4d01ae1dce6cc9654.zip | |
erofs: fix handling kern_mount() failure
if you have a variable that holds NULL or a pointer to live struct mount,
do not shove ERR_PTR() into it - not if you later treat "not NULL" as
"holds a pointer to object".
Signed-off-by: Al Viro <[email protected]>
Diffstat (limited to 'rust/helpers.c')
0 files changed, 0 insertions, 0 deletions
