ufs: catch up with removal of thread argument from VOP_INACTIVE
This commit is contained in:
@@ -140,7 +140,7 @@ int ufs_extattrctl(struct mount *mp, int cmd, struct vnode *filename,
|
||||
int ufs_getextattr(struct vop_getextattr_args *ap);
|
||||
int ufs_deleteextattr(struct vop_deleteextattr_args *ap);
|
||||
int ufs_setextattr(struct vop_setextattr_args *ap);
|
||||
void ufs_extattr_vnode_inactive(struct vnode *vp, struct thread *td);
|
||||
void ufs_extattr_vnode_inactive(struct vnode *vp);
|
||||
|
||||
#endif /* !_KERNEL */
|
||||
|
||||
|
||||
@@ -1276,7 +1276,7 @@ ufs_extattr_rm(struct vnode *vp, int attrnamespace, const char *name,
|
||||
* attributes stripped.
|
||||
*/
|
||||
void
|
||||
ufs_extattr_vnode_inactive(struct vnode *vp, struct thread *td)
|
||||
ufs_extattr_vnode_inactive(struct vnode *vp)
|
||||
{
|
||||
struct ufs_extattr_list_entry *uele;
|
||||
struct mount *mp = vp->v_mount;
|
||||
@@ -1299,7 +1299,7 @@ ufs_extattr_vnode_inactive(struct vnode *vp, struct thread *td)
|
||||
|
||||
LIST_FOREACH(uele, &ump->um_extattr.uepm_list, uele_entries)
|
||||
ufs_extattr_rm(vp, uele->uele_attrnamespace,
|
||||
uele->uele_attrname, NULL, td);
|
||||
uele->uele_attrname, NULL, curthread);
|
||||
|
||||
ufs_extattr_uepm_unlock(ump);
|
||||
}
|
||||
|
||||
@@ -106,7 +106,6 @@ int
|
||||
ufs_inactive(ap)
|
||||
struct vop_inactive_args /* {
|
||||
struct vnode *a_vp;
|
||||
struct thread *a_td;
|
||||
} */ *ap;
|
||||
{
|
||||
struct vnode *vp = ap->a_vp;
|
||||
@@ -173,7 +172,7 @@ ufs_inactive(ap)
|
||||
(void)chkiq(ip, -1, NOCRED, FORCE);
|
||||
#endif
|
||||
#ifdef UFS_EXTATTR
|
||||
ufs_extattr_vnode_inactive(vp, ap->a_td);
|
||||
ufs_extattr_vnode_inactive(vp);
|
||||
#endif
|
||||
/*
|
||||
* Setting the mode to zero needs to wait for the inode
|
||||
|
||||
Reference in New Issue
Block a user