From 6896cf78d42249c8345ba2e5ecea627bc80e115e Mon Sep 17 00:00:00 2001 From: Pino Toscano Date: Thu, 4 Oct 2012 19:34:22 +0200 Subject: Revert "libdiskfs: handle _PC_2_SYMLINKS in pathconf" It turned out it is the wrong approach. This reverts commit b6768b326c2e80f5c2326ab46459644d417c6e98. --- libdiskfs/io-pathconf.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/libdiskfs/io-pathconf.c b/libdiskfs/io-pathconf.c index bb192fe3..38e277c3 100644 --- a/libdiskfs/io-pathconf.c +++ b/libdiskfs/io-pathconf.c @@ -72,10 +72,6 @@ diskfs_S_io_pathconf (struct protid *cred, *value = 32; break; - case _PC_2_SYMLINKS: - *value = diskfs_shortcut_symlink ? 1 : 0; - break; - default: return EINVAL; } -- cgit v1.2.3 From 2e22275ea95f4a528f8badf24b833fb1f060f7f6 Mon Sep 17 00:00:00 2001 From: Cyril Roelandt Date: Mon, 22 Oct 2012 01:56:08 +0200 Subject: libps: Fix typo in the documentation of _proc_stat_create. * libps/ps.h: Refer to ps_context_find_proc_stat instead of pc_context_find_proc_stat. --- libps/ps.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libps/ps.h b/libps/ps.h index 91fdc70b..bcc43f8b 100644 --- a/libps/ps.h +++ b/libps/ps.h @@ -454,7 +454,7 @@ extern char *proc_stat_state_tags; /* Returns in PS a new proc_stat for the process PID in the ps context PC. If a memory allocation error occurs, ENOMEM is returned, otherwise 0. - Users shouldn't use this routine, use pc_context_find_proc_stat instead. */ + Users shouldn't use this routine, use ps_context_find_proc_stat instead. */ error_t _proc_stat_create (pid_t pid, struct ps_context *context, struct proc_stat **ps); -- cgit v1.2.3