mirror of
https://github.com/trapexit/mergerfs.git
synced 2024-11-22 10:02:19 +08:00
5ab0fbcaee
Yes, these are unrelated changes but somehow ended up being prototyped together and I'm too lazy to separate them.
14 lines
180 B
C
14 lines
180 B
C
#include <stdint.h>
|
|
#include <sys/types.h>
|
|
|
|
typedef struct lock_s lock_t;
|
|
struct lock_s
|
|
{
|
|
int type;
|
|
off_t start;
|
|
off_t end;
|
|
pid_t pid;
|
|
uint64_t owner;
|
|
lock_t *next;
|
|
};
|