summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libnetfs/io-pathconf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libnetfs/io-pathconf.c b/libnetfs/io-pathconf.c
index 78244bcd..2fd3f5bc 100644
--- a/libnetfs/io-pathconf.c
+++ b/libnetfs/io-pathconf.c
@@ -39,6 +39,7 @@ netfs_S_io_pathconf (struct protid *user,
case _PC_PIPE_BUF:
case _PC_VDISABLE:
case _PC_SOCK_MAXBUF:
+ case _PC_PATH_MAX:
*value = -1;
break;