diff options
Diffstat (limited to 'libdiskfs')
-rw-r--r-- | libdiskfs/io-pathconf.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libdiskfs/io-pathconf.c b/libdiskfs/io-pathconf.c index 38e277c3..7b6ff7fb 100644 --- a/libdiskfs/io-pathconf.c +++ b/libdiskfs/io-pathconf.c @@ -42,6 +42,9 @@ diskfs_S_io_pathconf (struct protid *cred, 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; @@ -55,6 +58,7 @@ diskfs_S_io_pathconf (struct protid *cred, break; case _PC_NO_TRUNC: /* enforced in diskfs_lookup */ + case _PC_2_SYMLINKS: *value = 1; /* diskfs_name_max >= 0; */ /* see above */ break; @@ -72,6 +76,12 @@ diskfs_S_io_pathconf (struct protid *cred, *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; } |