bpf, inode_storage: Put file handler if no storage was found

Put file f if inode_storage_ptr() returns NULL.

Fixes: 8ea636848a ("bpf: Implement bpf_local_storage for inodes")
Signed-off-by: Pan Bian <bianpan2016@163.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: KP Singh <kpsingh@kernel.org>
Link: https://lore.kernel.org/bpf/20210121020856.25507-1-bianpan2016@163.com
This commit is contained in:
Pan Bian 2021-01-20 18:08:56 -08:00 • committed by Daniel Borkmann
commit b9557caaf8