Module: wine Branch: master Commit: f4c7e6d607d15c681daa60cfb12b128e4376b809 URL: http://source.winehq.org/git/wine.git/?a=commit;h=f4c7e6d607d15c681daa60cfb1...
Author: Francois Gouget fgouget@free.fr Date: Wed Jun 18 17:53:06 2014 +0200
server: Treat ENOTSUP the same way as ENOLCK, consider locking to be non-functional on that filesystem.
---
server/fd.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/server/fd.c b/server/fd.c index 7043d04..e3b722c 100644 --- a/server/fd.c +++ b/server/fd.c @@ -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;