Commit 55f267ee authored by Daniel Rosenberg's avatar Daniel Rosenberg
Browse files

ANDROID: fuse-bpf: Fix use of get_fuse_inode



get_fuse_inode uses container_of, which results in a strange result if
the inode is NULL. We should check if the inode is NULL instead.

Fixes: 4ad093ca ("ANDROID: fuse-bpf: Make inodes with backing_fd reachable")
Bug: 219958836
Change-Id: I386c4641edaa4dbc8d8e02f592c959c206851eda
Signed-off-by: default avatarDaniel Rosenberg <drosen@google.com>
parent 81a1ae6b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment