mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-05 19:31:57 -04:00
UPSTREAM: ANDROID: fuse-bpf: set error_in to ENOENT in negative lookup
Bug: 250617797 Test: fuse-test passes, app installs Signed-off-by: Paul Lawrence <paullawrence@google.com> Change-Id: I44544f8989d0ddf00a98eaddce5751df6598130f
This commit is contained in:
parent
3937d62267
commit
9769804365
1 changed files with 3 additions and 1 deletions
|
|
@ -1176,8 +1176,10 @@ int fuse_lookup_backing(struct fuse_bpf_args *fa, struct inode *dir,
|
|||
.mnt = mntget(dir_fuse_entry->backing_path.mnt),
|
||||
};
|
||||
|
||||
if (d_is_negative(backing_entry))
|
||||
if (d_is_negative(backing_entry)) {
|
||||
fa->error_in = -ENOENT;
|
||||
return 0;
|
||||
}
|
||||
|
||||
err = vfs_getattr(&fuse_entry->backing_path, &stat,
|
||||
STATX_BASIC_STATS, 0);
|
||||
|
|
|
|||
Loading…
Reference in a new issue