- Remove the do { } while(0) from the VOP lock assert macros. This was
not optimized away by the compiler in time for it to still leave the VOP functions as inlines. Submitted by: bde
This commit is contained in:
parent
8f6a0ee959
commit
7d2eb23f79
@ -529,13 +529,13 @@ void vop_unlock_post(void *a, int rc);
|
||||
|
||||
#else
|
||||
|
||||
#define ASSERT_VOP_LOCKED(vp, str) do { } while(0)
|
||||
#define ASSERT_VOP_UNLOCKED(vp, str) do { } while(0)
|
||||
#define ASSERT_VOP_ELOCKED(vp, str) do { } while(0)
|
||||
#define ASSERT_VOP_ELOCKED_OTHER(vp, str) do { } while(0)
|
||||
#define ASSERT_VOP_SLOCKED(vp, str) do { } while(0)
|
||||
#define ASSERT_VI_UNLOCKED(vp, str) do { } while(0)
|
||||
#define ASSERT_VI_LOCKED(vp, str) do { } while(0)
|
||||
#define ASSERT_VOP_LOCKED(vp, str)
|
||||
#define ASSERT_VOP_UNLOCKED(vp, str)
|
||||
#define ASSERT_VOP_ELOCKED(vp, str)
|
||||
#define ASSERT_VOP_ELOCKED_OTHER(vp, str)
|
||||
#define ASSERT_VOP_SLOCKED(vp, str)
|
||||
#define ASSERT_VI_UNLOCKED(vp, str)
|
||||
#define ASSERT_VI_LOCKED(vp, str)
|
||||
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user