diff options
author | NeilBrown <neilb@suse.de> | 2012-05-21 23:55:11 -0400 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2012-05-21 23:55:11 -0400 |
commit | 9b1215c102d4b12f6c815d7fdd35d0628db35b28 (patch) | |
tree | 52f04de53b1b7302535d66820d9f85b0610b0b1f /drivers/md/bitmap.h | |
parent | 1ec885cdd01a9ad867dbb9fd32a1bfcc0875c486 (diff) |
md/bitmap: store bytes in file rather than just in last page.
This number is more generally useful, and bytes-in-last-page is
easily extracted from it.
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/md/bitmap.h')
-rw-r--r-- | drivers/md/bitmap.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/bitmap.h b/drivers/md/bitmap.h index 162ab095b866..26689260e179 100644 --- a/drivers/md/bitmap.h +++ b/drivers/md/bitmap.h | |||
@@ -197,7 +197,7 @@ struct bitmap { | |||
197 | unsigned long *filemap_attr; /* attributes associated | 197 | unsigned long *filemap_attr; /* attributes associated |
198 | * w/ filemap pages */ | 198 | * w/ filemap pages */ |
199 | unsigned long file_pages; /* number of pages in the file*/ | 199 | unsigned long file_pages; /* number of pages in the file*/ |
200 | int last_page_size; /* bytes in the last page */ | 200 | unsigned long bytes; /* total bytes in the bitmap */ |
201 | } storage; | 201 | } storage; |
202 | 202 | ||
203 | unsigned long flags; | 203 | unsigned long flags; |