From 523a059fb7d5844ebcca279b2f83aff9164b444c Mon Sep 17 00:00:00 2001 From: Matt Mower Date: Sun, 13 Dec 2015 11:31:00 -0600 Subject: fuse: Update to 2.9.4 Change-Id: I0877c624531286f47da29a7ab16c7ff3cfac0090 --- fuse/ulockmgr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fuse/ulockmgr.c') diff --git a/fuse/ulockmgr.c b/fuse/ulockmgr.c index f0523ae70..ebd68c6a7 100644 --- a/fuse/ulockmgr.c +++ b/fuse/ulockmgr.c @@ -356,10 +356,10 @@ static uint32_t owner_hash(const unsigned char *id, size_t id_len) static int ulockmgr_canonicalize(int fd, struct flock *lock) { - off64_t offset; + loff_t offset; if (lock->l_whence == SEEK_CUR) { offset = lseek(fd, 0, SEEK_CUR); - if (offset == (off64_t) -1) + if (offset == (loff_t) -1) return -errno; } else if (lock->l_whence == SEEK_END) { struct stat stbuf; -- cgit v1.2.3