summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Rapoport <rppt@linux.vnet.ibm.com>2017-10-03 08:53:07 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2017-11-05 18:55:07 -0500
commit63dcb81e5b9e1faadf4b55450141bc4446e5a3d3 (patch)
treef5cee1a80eeb1bfcb6650009b586cf2035365593
parentceac204e1da942a634d3bb0db3e959edc78e47c7 (diff)
downloadlinux-stable-63dcb81e5b9e1faadf4b55450141bc4446e5a3d3.tar.gz
linux-stable-63dcb81e5b9e1faadf4b55450141bc4446e5a3d3.tar.bz2
linux-stable-63dcb81e5b9e1faadf4b55450141bc4446e5a3d3.zip
include/linux/fs.h: fix comment about struct address_space
Before commit 9c5d760b8d22 ("mm: split gfp_mask and mapping flags into separate fields") the private_* fields of struct adrress_space were grouped together and using "ditto" in comments describing the last fields was correct. With introduction of gpf_mask between private_lock and private_list "ditto" references the wrong description. Fix it by using the elaborate description. Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-rw-r--r--include/linux/fs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h
index 31f8b2ea358c..ccbac0ed672c 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -403,7 +403,7 @@ struct address_space {
unsigned long flags; /* error bits */
spinlock_t private_lock; /* for use by the address_space */
gfp_t gfp_mask; /* implicit gfp mask for allocations */
- struct list_head private_list; /* ditto */
+ struct list_head private_list; /* for use by the address_space */
void *private_data; /* ditto */
errseq_t wb_err;
} __attribute__((aligned(sizeof(long)))) __randomize_layout;