[PATCH] VMA comment fixes

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Ulrich Drepper
Date: Saturday, August 16, 2008 - 2:34 am

These seem to be two tiny problems in comments related to VMA data
structures.  Am I correct?


Signed-off-by: Ulrich Drepper <drepper@redhat.com>

diff --git a/include/linux/mm_types.h b/include/linux/mm_types.h
index 386edbe..5ceb830 100644
--- a/include/linux/mm_types.h
+++ b/include/linux/mm_types.h
@@ -113,7 +113,7 @@ struct vm_area_struct {
 	struct vm_area_struct *vm_next;
 
 	pgprot_t vm_page_prot;		/* Access permissions of this VMA. */
-	unsigned long vm_flags;		/* Flags, listed below. */
+	unsigned long vm_flags;		/* Flags, see vmalloc.h. */
 
 	struct rb_node vm_rb;
 
diff --git a/include/linux/vmalloc.h b/include/linux/vmalloc.h
index 364789a..39fc8d7 100644
--- a/include/linux/vmalloc.h
+++ b/include/linux/vmalloc.h
@@ -6,7 +6,7 @@
 
 struct vm_area_struct;
 
-/* bits in vm_struct->flags */
+/* bits in vm_area_struct->flags */
 #define VM_IOREMAP	0x00000001	/* ioremap() and friends */
 #define VM_ALLOC	0x00000002	/* vmalloc() */
 #define VM_MAP		0x00000004	/* vmap()ed pages */
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] VMA comment fixes, Ulrich Drepper, (Sat Aug 16, 2:34 am)
Re: [PATCH] VMA comment fixes, Hugh Dickins, (Sat Aug 16, 3:07 am)
Re: [PATCH] VMA comment fixes, Linus Torvalds, (Sat Aug 16, 10:44 am)