Skip to content

Commit

Permalink
Update document-portal/document-portal-fuse.c
Browse files Browse the repository at this point in the history
Co-authored-by: Hubert Figuière <[email protected]>
  • Loading branch information
lufia and hfiguiere authored Apr 29, 2024
1 parent 3c646ba commit 9a6dc54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion document-portal/document-portal-fuse.c
Original file line number Diff line number Diff line change
Expand Up @@ -3198,7 +3198,7 @@ xdp_fuse_flock (fuse_req_t req,

g_debug ("FLOCK %lx", ino);

if ((lock_op&(LOCK_SH|LOCK_EX)) && (lock_op&LOCK_NB) == 0)
if ((lock_op & (LOCK_SH | LOCK_EX)) && (lock_op & LOCK_NB) == 0)
{
xdp_reply_err (op, req, ENOSYS);
return;
Expand Down

0 comments on commit 9a6dc54

Please sign in to comment.