Commit 6d34ed34 authored by Paul Lawrence's avatar Paul Lawrence Committed by ting wang
Browse files

ANDROID: fuse-bpf: Check inode not null



fuse_iget_backing returns an inode or null, not a ERR_PTR. So check it's
not NULL

Also make sure we put the inode if d_splice_alias fails

Bug: 293349757
Bug: 301017317
Bug: 301378679
Test: fuse_test runs

Change-Id: I1eadad32f80bab6730e461412b4b7ab4d6c56bf2
Signed-off-by: default avatarPaul Lawrence <paullawrence@google.com>
Signed-off-by: default avatarwangting <wangting11@xiaomi.com>
parent 9213ceb4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment