aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/include/sys/filedesc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/include/sys/filedesc.h b/sys/include/sys/filedesc.h
index f8f9ba6..f2c2778 100644
--- a/sys/include/sys/filedesc.h
+++ b/sys/include/sys/filedesc.h
@@ -31,7 +31,7 @@
#define _SYS_FILEDESC_H_
#include <sys/vnode.h>
-#include <sys/spinlock.h>
+#include <sys/mutex.h>
#include <sys/syscall.h>
#include <sys/types.h>
@@ -51,7 +51,7 @@ struct filedesc {
off_t offset;
bool is_dir;
struct vnode *vnode;
- struct spinlock lock;
+ struct mutex lock;
};
#if defined(_KERNEL)