1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-28 11:57:28 +00:00

ufs: add missing vop_fplookup ops to fifo vectors

Reported-by: syzbot+a324b64ef9a933659c1c@syzkaller.appspotmail.com
This commit is contained in:
Mateusz Guzik 2023-04-07 20:05:58 +00:00
parent 4adb28c0ab
commit 4032c38814
2 changed files with 6 additions and 0 deletions

View File

@ -167,6 +167,8 @@ struct vop_vector ffs_fifoops1 = {
.vop_unlock = ffs_unlock_debug,
#endif
.vop_vptofh = ffs_vptofh,
.vop_fplookup_vexec = VOP_EAGAIN,
.vop_fplookup_symlink = VOP_EAGAIN,
};
VFS_VOP_VECTOR_REGISTER(ffs_fifoops1);
@ -214,6 +216,8 @@ struct vop_vector ffs_fifoops2 = {
.vop_openextattr = ffs_openextattr,
.vop_setextattr = ffs_setextattr,
.vop_vptofh = ffs_vptofh,
.vop_fplookup_vexec = VOP_EAGAIN,
.vop_fplookup_symlink = VOP_EAGAIN,
};
VFS_VOP_VECTOR_REGISTER(ffs_fifoops2);

View File

@ -3063,5 +3063,7 @@ struct vop_vector ufs_fifoops = {
.vop_setacl = ufs_setacl,
.vop_aclcheck = ufs_aclcheck,
#endif
.vop_fplookup_vexec = VOP_EAGAIN,
.vop_fplookup_symlink = VOP_EAGAIN,
};
VFS_VOP_VECTOR_REGISTER(ufs_fifoops);