aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorAndre Noll <[email protected]>2009-03-31 14:33:13 +1100
committerNeilBrown <[email protected]>2009-03-31 14:33:13 +1100
commit58c0fed400603a802968b23ddf78f029c5a84e41 (patch)
tree474fcb9775bb07f39ebb7802fb9b51d69222dcbb /net/lapb/lapb_subr.c
parent575a80fa4f623141e9791e41879d87800fb6d862 (diff)
md: Make mddev->size sector-based.
This patch renames the "size" field of struct mddev_s to "dev_sectors" and stores the number of 512-byte sectors instead of the number of 1K-blocks in it. All users of that field, including raid levels 1,4-6,10, are adjusted accordingly. This simplifies the code a bit because it allows to get rid of a couple of divisions/multiplications by two. In order to make checkpatch happy, some minor coding style issues have also been addressed. In particular, size_store() now uses strict_strtoull() instead of simple_strtoull(). Signed-off-by: Andre Noll <[email protected]> Signed-off-by: NeilBrown <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions