summaryrefslogtreecommitdiff
path: root/netfs.c
diff options
context:
space:
mode:
authorMadhusudan.C.S <madhusudancs@gmail.com>2008-08-18 20:26:00 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2010-08-01 01:31:30 +0200
commit4cce52a1ec161008243f5bee63df7f6230c0f7e6 (patch)
treeb1dbaba40e98a78680fec87868250ab659e0ee81 /netfs.c
parent151d56afe0d7d9eb527fb0a194f383435b2c0f65 (diff)
2008-08-18 Madhusudan.C.S <madhusudancs@gmail.com>
* procfs_nonpid_files.c: (procfs_write_nonpid_stat): Changed to procfs_read_nonpid_stat. (procfs_write_nonpid_meminfo): Changed to procfs_read_nonpid_meminfo. (procfs_write_nonpid_loadavg): Changed to procfs_read_nonpid_loadavg. (procfs_write_nonpid_uptime): Changed to procfs_read_nonpid_uptime. (procfs_write_nonpid_version):Changed to procfs_read_nonpid_version. * procfs_pid_files.c: (procfs_write_stat_file): Changed to procfs_read_stat_file. Changed the comment correspondingly from Write to Read. (procfs_write_cmdline_file ): Changed to procfs_read_cmdline_file. Changed the comment correspondingly from Write to Read. (procfs_write_status_file): Changed to procfs_read_status_file. Changed the comment correspondingly from Write to Read. (procfs_write_statm_file): Changed to procfs_read_statm_file. Changed the comment correspondingly from Write to Read. (procfs_write_files_contents): Changed to procfs_read_files_contents. Changed the comment correspondingly from Write to Read. Changed the call to procfs_write_nonpid_stat to procfs_read_nonpid_stat. Changed the call to procfs_write_stat_file to procfs_read_stat_file. Changed the call to procfs_write_cmdline_file to procfs_read_cmdline_file. Changed the call to procfs_write_status_file to procfs_read_status_file. Changed the call to procfs_write_statm_file to procfs_read_statm_file. Changed the call to procfs_write_nonpid_meminfo to procfs_read_nonpid_meminfo. Changed the call to procfs_write_nonpid_loadavg to procfs_read_nonpid_loadavg. Changed the call to procfs_write_nonpid_uptime to procfs_read_nonpid_uptime. Changed the call to procfs_write_nonpid_version to procfs_read_nonpid_version. netfs.c: (netfs_attempt_read): Changed the call from procfs_write_files_contents to procfs_read_files_contents.
Diffstat (limited to 'netfs.c')
-rw-r--r--netfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/netfs.c b/netfs.c
index 31ffe1b5..7e00e4d4 100644
--- a/netfs.c
+++ b/netfs.c
@@ -435,7 +435,7 @@ error_t netfs_attempt_read (struct iouser *cred, struct node *node,
if (! err)
{
if (*len > 0)
- procfs_write_files_contents (node, offset,
+ procfs_read_files_contents (node, offset,
len, data);
if (*len > 0)
if (offset >= *len)