summaryrefslogtreecommitdiffstats
path: root/INSTALL
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2009-12-01 16:04:06 -0700
committerDan Williams <dan.j.williams@intel.com>2009-12-01 16:04:06 -0700
commita7dd165b4ea5c3db8dd05f4594e8dea783296ae3 (patch)
tree3ecb283a693f9c8505241664e971dfa909363fb7 /INSTALL
parent2ed4f75388f99968be58097941a9704f6e42d701 (diff)
downloadmdadm-a7dd165b4ea5c3db8dd05f4594e8dea783296ae3.tar.gz
mdadm-a7dd165b4ea5c3db8dd05f4594e8dea783296ae3.tar.xz
mdadm-a7dd165b4ea5c3db8dd05f4594e8dea783296ae3.zip
imsm: catch attempt to auto-layout zero-length arrays
When -z is omitted reserve_space() looks to satisfy a zero length allocation which lo and behold is equal to the amount of free space on a full disk. So, catch maxsize == 0 and simplify the return value from merge_extents() to always equal amount of free space (no benefit to having a special case ~0ULL == error). Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'INSTALL')
0 files changed, 0 insertions, 0 deletions