diff options
Diffstat (limited to 'libglusterfs/src/fd.h')
-rw-r--r-- | libglusterfs/src/fd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libglusterfs/src/fd.h b/libglusterfs/src/fd.h index 31f494a7e8f..3b4acf762ae 100644 --- a/libglusterfs/src/fd.h +++ b/libglusterfs/src/fd.h @@ -65,7 +65,7 @@ typedef struct fd_table_entry fdentry_t; struct _fdtable { int refcount; uint32_t max_fds; - pthread_mutex_t lock; + pthread_rwlock_t lock; fdentry_t *fdentries; int first_free; }; |