diff options
author | Dan Williams <dan.j.williams@intel.com> | 2009-03-31 14:59:03 +1100 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2009-03-31 14:59:03 +1100 |
commit | 1f403624bde3c678a166984b1e6a727a0ce06f2b (patch) | |
tree | b66ed37091e825bcde1cd0d333d4ebba86772805 /drivers/md/md.h | |
parent | 80c3a6ce4ba4470379b9e6a4d9bcd9d2ee26ae03 (diff) | |
download | blackbird-op-linux-1f403624bde3c678a166984b1e6a727a0ce06f2b.tar.gz blackbird-op-linux-1f403624bde3c678a166984b1e6a727a0ce06f2b.zip |
md: centralize ->array_sectors modifications
Get personalities out of the business of directly modifying
->array_sectors. Lays groundwork to introduce policy on when
->array_sectors can be modified.
Reviewed-by: Andre Noll <maan@systemlinux.org>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/md/md.h')
-rw-r--r-- | drivers/md/md.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/md/md.h b/drivers/md/md.h index d2c50da1ae7f..ce89dda24074 100644 --- a/drivers/md/md.h +++ b/drivers/md/md.h @@ -430,3 +430,4 @@ extern void md_do_sync(mddev_t *mddev); extern void md_new_event(mddev_t *mddev); extern int md_allow_write(mddev_t *mddev); extern void md_wait_for_blocked_rdev(mdk_rdev_t *rdev, mddev_t *mddev); +extern void md_set_array_sectors(mddev_t *mddev, sector_t array_sectors); |