diff options
author | Yan, Zheng <zyan@redhat.com> | 2014-10-14 09:38:01 +0200 |
---|---|---|
committer | Sage Weil <sage@redhat.com> | 2014-10-14 21:57:05 +0200 |
commit | 0bc62284ee3f2a228c64902ed818b6ba8e04159b (patch) | |
tree | 57217cc15af14a00b0ac6adaede8fd7a819c5c0f /fs/ceph/mds_client.h | |
parent | rbd: rbd workqueues need a resque worker (diff) | |
download | linux-0bc62284ee3f2a228c64902ed818b6ba8e04159b.tar.xz linux-0bc62284ee3f2a228c64902ed818b6ba8e04159b.zip |
ceph: fix divide-by-zero in __validate_layout()
The 'stripe_unit' field is 64 bits, casting it to 32 bits can result zero.
Signed-off-by: Yan, Zheng <zyan@redhat.com>
Diffstat (limited to 'fs/ceph/mds_client.h')
0 files changed, 0 insertions, 0 deletions