android_kernel_samsung_msm8976/fs/ceph
Emil Goode f1b6559cfa ceph: improve error handling in ceph_mdsmap_decode
commit c213b50b7dcbf06abcfbf1e4eee5b76586718bd9 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-01-09 12:24:24 -08:00
..
addr.c ceph: Avoid data inconsistency due to d-cache aliasing in readpage() 2014-01-09 12:24:22 -08:00
caps.c ceph: take i_mutex before getting Fw cap 2013-05-01 21:18:53 -07:00
ceph_frag.c
debugfs.c
dir.c ceph: use i_release_count to indicate dir's completeness 2013-05-01 21:17:07 -07:00
export.c fs: encode_fh: return FILEID_INVALID if invalid fid_type 2013-02-26 02:46:10 -05:00
file.c aio: don't include aio.h in sched.h 2013-05-07 20:16:25 -07:00
inode.c ceph: fix symlink inode operations 2013-05-01 21:18:50 -07:00
ioctl.c ceph: Don't forget the 'up_read(&osdc->map_sem)' if met error. 2013-09-26 17:18:29 -07:00
ioctl.h
Kconfig
locks.c ceph: ceph_pagelist_append might sleep while atomic 2013-05-17 12:45:48 -05:00
Makefile
mds_client.c ceph: wake up 'safe' waiters when unregistering request 2014-01-09 12:24:19 -08:00
mds_client.h Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/sage/ceph-client 2013-02-28 17:43:09 -08:00
mdsmap.c ceph: improve error handling in ceph_mdsmap_decode 2014-01-09 12:24:24 -08:00
snap.c ceph: use ceph_create_snap_context() 2013-05-01 21:20:09 -07:00
strings.c
super.c ceph: set up page array mempool with correct size 2013-05-01 21:17:50 -07:00
super.h ceph: ceph_pagelist_append might sleep while atomic 2013-05-17 12:45:48 -05:00
xattr.c ceph: fix sleeping function called from invalid context. 2013-07-13 11:42:26 -07:00