server: Treat ENOTSUP the same way as ENOLCK, consider locking to be non-functional on that filesystem.

This commit is contained in:
Francois Gouget 2014-06-18 17:53:06 +02:00 committed by Alexandre Julliard
parent cc4ad353d7
commit f4c7e6d607
1 changed files with 1 additions and 0 deletions

View File

@ -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;