From 3b524d28ce79e8f61d0888d77d00d80aef744ac0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Marczewski?= Date: Fri, 2 Jul 2021 14:15:10 +0200 Subject: [PATCH] fixup! [LibOS] Implement POSIX locks (fcntl) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Paweł Marczewski --- LibOS/shim/src/fs/shim_fs_lock.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/LibOS/shim/src/fs/shim_fs_lock.c b/LibOS/shim/src/fs/shim_fs_lock.c index cd5c17f71e..817315ed6b 100644 --- a/LibOS/shim/src/fs/shim_fs_lock.c +++ b/LibOS/shim/src/fs/shim_fs_lock.c @@ -471,7 +471,7 @@ int posix_lock_set(struct shim_dentry* dent, struct posix_lock* pl, bool wait) { if (ret < 0) goto out; if (req) { - /* `posix_lock_add_request` is allowed to add a request only if `wait` is true */ + /* `posix_lock_set_or_add_request` is allowed to add a request only if `wait` is true */ assert(wait); int result; @@ -520,7 +520,7 @@ int posix_lock_set_from_ipc(const char* path, struct posix_lock* pl, bool wait, goto out; if (req) { - /* `posix_lock_add_request` is allowed to add a request only if `wait` is true */ + /* `posix_lock_set_or_add_request` is allowed to add a request only if `wait` is true */ assert(wait); req->notify.vmid = vmid;