vfs: remove the now empty vop_unlock_post

This commit is contained in:
Mateusz Guzik 2020-02-02 09:36:32 +00:00
parent 10a15df653
commit 6698e11f4b
3 changed files with 0 additions and 9 deletions

View File

@ -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)
{

View File

@ -386,7 +386,6 @@ vop_lock1 {
%! unlock pre vop_unlock_pre
%! unlock post vop_unlock_post
vop_unlock {
IN struct vnode *vp;

View File

@ -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