diff options
Diffstat (limited to 'xlators/features/locks/src/locks.h')
| -rw-r--r-- | xlators/features/locks/src/locks.h | 10 | 
1 files changed, 6 insertions, 4 deletions
diff --git a/xlators/features/locks/src/locks.h b/xlators/features/locks/src/locks.h index 476b9a83cd6..0dcbdf97901 100644 --- a/xlators/features/locks/src/locks.h +++ b/xlators/features/locks/src/locks.h @@ -30,6 +30,8 @@  #include "call-stub.h"  #include "locks-mem-types.h" +#include "lkowner.h" +  #define POSIX_LOCKS "posix-locks"  struct __pl_fd; @@ -55,8 +57,8 @@ struct __posix_lock {             across nodes */          void              *transport;     /* to identify client node */ +        gf_lkowner_t       owner;          pid_t              client_pid;    /* pid of client process */ -        uint64_t           owner;         /* lock owner from fuse */  };  typedef struct __posix_lock posix_lock_t; @@ -83,8 +85,8 @@ struct __pl_inode_lock {             across nodes */          void              *transport;     /* to identify client node */ +        gf_lkowner_t       owner;          pid_t              client_pid;    /* pid of client process */ -        uint64_t           owner;  };  typedef struct __pl_inode_lock pl_inode_lock_t; @@ -120,9 +122,9 @@ struct __entry_lock {          struct timeval     blkd_time;   /*time at which lock was queued into blkd list*/          struct timeval     granted_time; /*time at which lock was queued into active list*/ -        void      *trans; +        void             *trans; +        gf_lkowner_t      owner;          pid_t             client_pid;    /* pid of client process */ -        uint64_t          owner;  };  typedef struct __entry_lock pl_entry_lock_t;  | 
