Commit f4c7e6d6 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

server: Treat ENOTSUP the same way as ENOLCK, consider locking to be…

server: Treat ENOTSUP the same way as ENOLCK, consider locking to be non-functional on that filesystem.
parent cc4ad353
......@@ -1167,6 +1167,7 @@ static int set_unix_lock( struct fd *fd, file_pos_t start, file_pos_t end, int t
/* fall through */
case EIO:
case ENOLCK:
case ENOTSUP:
/* no locking on this fs, just ignore it */
fd->fs_locks = 0;
return 1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment