summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Morton <akpm@digeo.com>2003-04-08 21:31:44 -0700
committerLinus Torvalds <torvalds@home.transmeta.com>2003-04-08 21:31:44 -0700
commit598ee77158db8295edbd5e9d850e4e0fddbe9afc (patch)
tree2ea6b7c8fe9e8f6edcb2db6eaa5ee61e57f1bd48 /include
parenta300bad22f3ae5811c0f1a5c5c8a95825b3d262d (diff)
[PATCH] struct address_space comments
From: "Martin J. Bligh" <mbligh@aracnet.com> Fix the commentary around the address_space fields.
Diffstat (limited to 'include')
-rw-r--r--include/linux/fs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h
index 158edfbd69f1..a3315d636032 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -321,8 +321,8 @@ struct address_space {
unsigned long nrpages; /* number of total pages */
struct address_space_operations *a_ops; /* methods */
struct list_head i_mmap; /* list of private mappings */
- struct list_head i_mmap_shared; /* list of private mappings */
- struct semaphore i_shared_sem; /* and sem protecting it */
+ struct list_head i_mmap_shared; /* list of shared mappings */
+ struct semaphore i_shared_sem; /* protect both above lists */
unsigned long dirtied_when; /* jiffies of first page dirtying */
int gfp_mask; /* how to allocate the pages */
struct backing_dev_info *backing_dev_info; /* device readahead, etc */