summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/fpathconf.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2012-05-15 10:27:46 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2012-05-15 10:37:00 +0200
commit0a95800a58036ad75aa2b972036d458906ac447c (patch)
tree84330a05745639c08d0c039b7b12a0a4cf105c9c /cpukit/libcsupport/src/fpathconf.c
parentFilesystem: Move operations to mount table entry (diff)
downloadrtems-0a95800a58036ad75aa2b972036d458906ac447c.tar.bz2
Filesystem: Change pathconf_limits_and_options
The pathconf_limits_and_options field of rtems_filesystem_mount_table_entry_t is now a const pointer to reduce the read-write memory demands of file system instances.
Diffstat (limited to 'cpukit/libcsupport/src/fpathconf.c')
-rw-r--r--cpukit/libcsupport/src/fpathconf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/libcsupport/src/fpathconf.c b/cpukit/libcsupport/src/fpathconf.c
index b0e0dc7a75..a48c5d35fc 100644
--- a/cpukit/libcsupport/src/fpathconf.c
+++ b/cpukit/libcsupport/src/fpathconf.c
@@ -26,7 +26,7 @@ long fpathconf(
{
long return_value;
rtems_libio_t *iop;
- rtems_filesystem_limits_and_options_t *the_limits;
+ const rtems_filesystem_limits_and_options_t *the_limits;
rtems_libio_check_fd(fd);
iop = rtems_libio_iop(fd);
@@ -36,7 +36,7 @@ long fpathconf(
* Now process the information request.
*/
- the_limits = &iop->pathinfo.mt_entry->pathconf_limits_and_options;
+ the_limits = iop->pathinfo.mt_entry->pathconf_limits_and_options;
switch ( name ) {
case _PC_LINK_MAX: