diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2006-09-30 20:03:52 +0000 |
---|---|---|
committer | Miklos Szeredi <miklos@szeredi.hu> | 2006-09-30 20:03:52 +0000 |
commit | 0740785ee4ecd3edf07b0f311017ea00cb63698b (patch) | |
tree | 0a2275cb6cba352f1f4eeda8bfb1fc9f56c15210 /example | |
parent | 004a8c763ea66f91ed7a2a7ea9f28b4a16ba400c (diff) |
API changes
Diffstat (limited to 'example')
-rw-r--r-- | example/fusexmp_fh.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/example/fusexmp_fh.c b/example/fusexmp_fh.c index 9bf0d25..2ad1a50 100644 --- a/example/fusexmp_fh.c +++ b/example/fusexmp_fh.c @@ -402,11 +402,12 @@ static int xmp_removexattr(const char *path, const char *name) #endif /* HAVE_SETXATTR */ static int xmp_lock(const char *path, struct fuse_file_info *fi, int cmd, - struct flock *lock, uint64_t owner) + struct flock *lock) { (void) path; - return ulockmgr_op(fi->fh, cmd, lock, &owner, sizeof(owner)); + return ulockmgr_op(fi->fh, cmd, lock, &fi->lock_owner, + sizeof(fi->lock_owner)); } static struct fuse_operations xmp_oper = { |