diff options
Diffstat (limited to 'libnetfs')
-rw-r--r-- | libnetfs/io-pathconf.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libnetfs/io-pathconf.c b/libnetfs/io-pathconf.c index 2fd3f5bc..0791243e 100644 --- a/libnetfs/io-pathconf.c +++ b/libnetfs/io-pathconf.c @@ -40,6 +40,9 @@ netfs_S_io_pathconf (struct protid *user, case _PC_VDISABLE: case _PC_SOCK_MAXBUF: case _PC_PATH_MAX: + case _PC_REC_MAX_XFER_SIZE: + case _PC_REC_INCR_XFER_SIZE: + case _PC_SYMLINK_MAX: *value = -1; break; @@ -49,6 +52,7 @@ netfs_S_io_pathconf (struct protid *user, case _PC_CHOWN_RESTRICTED: case _PC_NO_TRUNC: /* look at string_t trunc behavior in MiG */ + case _PC_2_SYMLINKS: *value = 1; break; @@ -62,6 +66,12 @@ netfs_S_io_pathconf (struct protid *user, *value = 32; break; + case _PC_REC_MIN_XFER_SIZE: + case _PC_REC_XFER_ALIGN: + case _PC_ALLOC_SIZE_MIN: + *value = vm_page_size; + break; + default: return EINVAL; } |