diff options
author | NeilBrown <neilb@suse.de> | 2012-05-22 13:55:11 +1000 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2012-05-22 13:55:11 +1000 |
commit | 9b1215c102d4b12f6c815d7fdd35d0628db35b28 (patch) | |
tree | 52f04de53b1b7302535d66820d9f85b0610b0b1f /drivers/md/bitmap.h | |
parent | 1ec885cdd01a9ad867dbb9fd32a1bfcc0875c486 (diff) | |
download | talos-obmc-linux-9b1215c102d4b12f6c815d7fdd35d0628db35b28.tar.gz talos-obmc-linux-9b1215c102d4b12f6c815d7fdd35d0628db35b28.zip |
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 { unsigned long *filemap_attr; /* attributes associated * w/ filemap pages */ unsigned long file_pages; /* number of pages in the file*/ - int last_page_size; /* bytes in the last page */ + unsigned long bytes; /* total bytes in the bitmap */ } storage; unsigned long flags; |