diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2012-05-15 10:27:46 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2012-05-15 10:37:00 +0200 |
commit | 0a95800a58036ad75aa2b972036d458906ac447c (patch) | |
tree | 84330a05745639c08d0c039b7b12a0a4cf105c9c /cpukit/libfs/src/nfsclient/src/nfs.c | |
parent | Filesystem: Move operations to mount table entry (diff) | |
download | rtems-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/libfs/src/nfsclient/src/nfs.c')
-rw-r--r-- | cpukit/libfs/src/nfsclient/src/nfs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/libfs/src/nfsclient/src/nfs.c b/cpukit/libfs/src/nfsclient/src/nfs.c index 372f078f14..bff5d6da16 100644 --- a/cpukit/libfs/src/nfsclient/src/nfs.c +++ b/cpukit/libfs/src/nfsclient/src/nfs.c @@ -622,7 +622,7 @@ rtems_filesystem_resolve_location(char *buf, int len, rtems_filesystem_location_ /* These are (except for MAXNAMLEN/MAXPATHLEN) copied from IMFS */ -static rtems_filesystem_limits_and_options_t +static const rtems_filesystem_limits_and_options_t nfs_limits_and_options = { 5, /* link_max */ 6, /* max_canon */ @@ -1755,7 +1755,7 @@ char *path = mt_entry->dev; mt_entry->ops = &nfs_fs_ops; mt_entry->mt_fs_root->location.handlers = &nfs_dir_file_handlers; - mt_entry->pathconf_limits_and_options = nfs_limits_and_options; + mt_entry->pathconf_limits_and_options = &nfs_limits_and_options; LOCK(nfsGlob.llock); nfsGlob.num_mounted_fs++; |