]> git.hungrycats.org Git - linux/commitdiff
[PATCH] struct address_space comments
authorAndrew Morton <akpm@digeo.com>
Wed, 9 Apr 2003 04:31:44 +0000 (21:31 -0700)
committerLinus Torvalds <torvalds@home.transmeta.com>
Wed, 9 Apr 2003 04:31:44 +0000 (21:31 -0700)
From: "Martin J. Bligh" <mbligh@aracnet.com>

Fix the commentary around the address_space fields.

include/linux/fs.h

index 158edfbd69f145e8d49b4342f94de301d4e4f9b8..a3315d6360321f7406cf12c5c9cb9f700ae4f17c 100644 (file)
@@ -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 */