summaryrefslogtreecommitdiffstats
path: root/include/linux/proc_fs.h
diff options
context:
space:
mode:
authorManeesh Soni <maneesh@in.ibm.com>2006-03-26 01:37:29 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-26 08:56:57 -0800
commit22e6c1b39c648850438decd491f62d311800c7db (patch)
tree23ec4760c7f85bbcad5ae029e5a3d65f93896ed2 /include/linux/proc_fs.h
parent3158e9411a66fb98d495ac441c242264f31aaf3e (diff)
[PATCH] Use loff_t for size in struct proc_dir_entry
Change proc_dir_entry->size to be loff_t to represent files like /proc/vmcore for 32bit systems with more than 4G memory. Needed for seeing correct size for /proc/vmcore for 32-bit systems with > 4G RAM. Signed-off-by: Maneesh Soni <maneesh@in.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/proc_fs.h')
-rw-r--r--include/linux/proc_fs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/proc_fs.h b/include/linux/proc_fs.h
index 6b12b0f661b..cb224cf653b 100644
--- a/include/linux/proc_fs.h
+++ b/include/linux/proc_fs.h
@@ -56,7 +56,7 @@ struct proc_dir_entry {
nlink_t nlink;
uid_t uid;
gid_t gid;
- unsigned long size;
+ loff_t size;
struct inode_operations * proc_iops;
struct file_operations * proc_fops;
get_info_t *get_info;