Skip to content

Commit

Permalink
Update userland kstat / kernel mutex size
Browse files Browse the repository at this point in the history
After it was changed by
dbd33f6

Signed-off-by: Jorgen Lundman <lundman@lundman.net>
  • Loading branch information
lundman committed Jul 19, 2023
1 parent 5d87c60 commit f3eadcb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions include/os/windows/spl/sys/mutex.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ typedef struct {
typedef struct kmutex {
mutex_t m_lock;
void *m_owner;
/*
* If this struct is changed, also change kernel_mutex_t
*/
KSPIN_LOCK m_destroy_lock;
unsigned int m_initialised;
} kmutex_t;
Expand Down
2 changes: 1 addition & 1 deletion lib/libspl/include/os/windows/sys/kstat.h
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ typedef struct kstat_raw_ops {
*/
struct kernel_mutex
{
unsigned char opaque[0x28];
unsigned char opaque[0x30];
};

#pragma pack(4)
Expand Down

0 comments on commit f3eadcb

Please sign in to comment.