diff options
Diffstat (limited to 'libglusterfs/src/fd-lk.h')
| -rw-r--r-- | libglusterfs/src/fd-lk.h | 4 | 
1 files changed, 4 insertions, 0 deletions
diff --git a/libglusterfs/src/fd-lk.h b/libglusterfs/src/fd-lk.h index bdea8c2a0..1d2ff794c 100644 --- a/libglusterfs/src/fd-lk.h +++ b/libglusterfs/src/fd-lk.h @@ -18,6 +18,7 @@  #include "mem-pool.h"  #include "mem-types.h"  #include "glusterfs.h" +#include "common-utils.h"  #define get_lk_type(type)                                               \          type == F_UNLCK ? "F_UNLCK" : (type == F_RDLCK ? "F_RDLCK" : "F_WRLCK") @@ -63,4 +64,7 @@ fd_lk_insert_and_merge (struct _fd *lk_ctx, int32_t cmd,  int  fd_lk_ctx_unref (fd_lk_ctx_t *lk_ctx); +gf_boolean_t +fd_lk_ctx_empty (fd_lk_ctx_t *lk_ctx); +  #endif /* _FD_LK_H */  | 
