vfs: remove the now empty vop_unlock_post
This commit is contained in:
parent
10a15df653
commit
6698e11f4b
@ -5384,12 +5384,6 @@ vop_unlock_pre(void *ap)
|
||||
ASSERT_VOP_LOCKED(a->a_vp, "VOP_UNLOCK");
|
||||
}
|
||||
|
||||
void
|
||||
vop_unlock_post(void *ap, int rc)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
void
|
||||
vop_need_inactive_pre(void *ap)
|
||||
{
|
||||
|
@ -386,7 +386,6 @@ vop_lock1 {
|
||||
|
||||
|
||||
%! unlock pre vop_unlock_pre
|
||||
%! unlock post vop_unlock_post
|
||||
|
||||
vop_unlock {
|
||||
IN struct vnode *vp;
|
||||
|
@ -824,7 +824,6 @@ void vop_strategy_pre(void *a);
|
||||
void vop_lock_pre(void *a);
|
||||
void vop_lock_post(void *a, int rc);
|
||||
void vop_unlock_pre(void *a);
|
||||
void vop_unlock_post(void *a, int rc);
|
||||
void vop_need_inactive_pre(void *a);
|
||||
void vop_need_inactive_post(void *a, int rc);
|
||||
#else
|
||||
@ -832,7 +831,6 @@ void vop_need_inactive_post(void *a, int rc);
|
||||
#define vop_lock_pre(x) do { } while (0)
|
||||
#define vop_lock_post(x, y) do { } while (0)
|
||||
#define vop_unlock_pre(x) do { } while (0)
|
||||
#define vop_unlock_post(x, y) do { } while (0)
|
||||
#define vop_need_inactive_pre(x) do { } while (0)
|
||||
#define vop_need_inactive_post(x, y) do { } while (0)
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user