diff options
author | Emil Goode <emilgoode@gmail.com> | 2013-05-28 18:59:00 +0400 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2013-07-01 20:52:02 +0400 |
commit | c213b50b7dcbf06abcfbf1e4eee5b76586718bd9 (patch) | |
tree | 66a2ae00a8e9e6e619d4722b5c2a0e53380765fd /fs/nls/nls_iso8859-14.c | |
parent | 912c317d4600b81664ad8f3d3ba6c1f2ff4b49c2 (diff) | |
download | linux-c213b50b7dcbf06abcfbf1e4eee5b76586718bd9.tar.xz |
ceph: improve error handling in ceph_mdsmap_decode
This patch makes the following improvements to the error handling
in the ceph_mdsmap_decode function:
- Add a NULL check for return value from kcalloc
- Make use of the variable err
Signed-off-by: Emil Goode <emilgoode@gmail.com>
Signed-off-by: Sage Weil <sage@inktank.com>
Diffstat (limited to 'fs/nls/nls_iso8859-14.c')
0 files changed, 0 insertions, 0 deletions