From 0740785ee4ecd3edf07b0f311017ea00cb63698b Mon Sep 17 00:00:00 2001 From: Miklos Szeredi Date: Sat, 30 Sep 2006 20:03:52 +0000 Subject: API changes --- example/fusexmp_fh.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'example/fusexmp_fh.c') 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 = { -- cgit v1.2.3