diff options
| author | Sage Weil <sage@newdream.net> | 2009-10-07 10:59:34 -0700 |
|---|---|---|
| committer | Sage Weil <sage@newdream.net> | 2009-10-07 10:59:34 -0700 |
| commit | b28813a61d6ffe05ad353a86965607bb7a7fd60f (patch) | |
| tree | f416befcd63c5b93b227df4280afb18e00335c27 /fs/ceph/mdsmap.c | |
| parent | b195befd9acb514dd2afb722e63fdd880ed63217 (diff) | |
| download | linux-b28813a61d6ffe05ad353a86965607bb7a7fd60f.tar.gz linux-b28813a61d6ffe05ad353a86965607bb7a7fd60f.tar.bz2 linux-b28813a61d6ffe05ad353a86965607bb7a7fd60f.zip | |
ceph: gracefully avoid empty crush buckets
This avoids a divide by zero when the input and/or map are
malformed.
Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'fs/ceph/mdsmap.c')
0 files changed, 0 insertions, 0 deletions
