From 6b12905b10b15c046b825c48eb8b9e677952d607 Mon Sep 17 00:00:00 2001 From: Miklos Szeredi Date: Mon, 5 Dec 2011 13:31:42 +0100 Subject: Make lock argument of fuse_reply_lock const Low level API: lock argument of fuse_reply_lock should have a 'const' qualifier. Reported by Shachar Sharon --- include/fuse_lowlevel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/fuse_lowlevel.h') diff --git a/include/fuse_lowlevel.h b/include/fuse_lowlevel.h index 7c00f76..51aea39 100644 --- a/include/fuse_lowlevel.h +++ b/include/fuse_lowlevel.h @@ -1134,7 +1134,7 @@ int fuse_reply_xattr(fuse_req_t req, size_t count); * @param lock the lock information * @return zero for success, -errno for failure to send reply */ -int fuse_reply_lock(fuse_req_t req, struct flock *lock); +int fuse_reply_lock(fuse_req_t req, const struct flock *lock); /** * Reply with block index -- cgit v1.2.3