aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorManeesh Soni <maneesh@in.ibm.com>2006-03-26 04:37:29 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-26 11:56:57 -0500
commit22e6c1b39c648850438decd491f62d311800c7db (patch)
tree23ec4760c7f85bbcad5ae029e5a3d65f93896ed2 /include/linux
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')
-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 6b12b0f661b4..cb224cf653b1 100644
--- a/include/linux/proc_fs.h
+++ b/include/linux/proc_fs.h
@@ -56,7 +56,7 @@ struct proc_dir_entry {
56 nlink_t nlink; 56 nlink_t nlink;
57 uid_t uid; 57 uid_t uid;
58 gid_t gid; 58 gid_t gid;
59 unsigned long size; 59 loff_t size;
60 struct inode_operations * proc_iops; 60 struct inode_operations * proc_iops;
61 struct file_operations * proc_fops; 61 struct file_operations * proc_fops;
62 get_info_t *get_info; 62 get_info_t *get_info;