diff options
Diffstat (limited to 'drivers/md/md.h')
-rw-r--r-- | drivers/md/md.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/md/md.h b/drivers/md/md.h index ce89dda2407..d13e34f842e 100644 --- a/drivers/md/md.h +++ b/drivers/md/md.h @@ -147,6 +147,8 @@ struct mddev_s sector_t dev_sectors; /* used size of * component devices */ sector_t array_sectors; /* exported array size */ + int external_size; /* size managed + * externally */ __u64 events; char uuid[16]; @@ -431,3 +433,4 @@ 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); +extern void md_set_array_sectors_lock(mddev_t *mddev, sector_t array_sectors); |