From f4c7e6d607d15c681daa60cfb12b128e4376b809 Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Wed, 18 Jun 2014 17:53:06 +0200 Subject: [PATCH] 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 7043d04caba..e3b722cdf66 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; -- 2.11.4.GIT