summaryrefslogtreecommitdiff
path: root/libdiskfs
diff options
context:
space:
mode:
Diffstat (limited to 'libdiskfs')
-rw-r--r--libdiskfs/io-pathconf.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libdiskfs/io-pathconf.c b/libdiskfs/io-pathconf.c
index 38e277c3..bb192fe3 100644
--- a/libdiskfs/io-pathconf.c
+++ b/libdiskfs/io-pathconf.c
@@ -72,6 +72,10 @@ diskfs_S_io_pathconf (struct protid *cred,
*value = 32;
break;
+ case _PC_2_SYMLINKS:
+ *value = diskfs_shortcut_symlink ? 1 : 0;
+ break;
+
default:
return EINVAL;
}