server: Treat ENOTSUP the same way as ENOLCK, consider locking to be non-functional on that filesystem.
This commit is contained in:
parent
cc4ad353d7
commit
f4c7e6d607
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue