linux/net/ceph
Sage Weil dfae3b3451 libceph: check for invalid mapping
(cherry picked from commit d63b77f4c5)

If we encounter an invalid (e.g., zeroed) mapping, return an error
and avoid a divide by zero.

Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Alex Elder <elder@inktank.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-11-26 11:38:44 -08:00
..
crush crush: fix memory leak when destroying tree buckets 2012-11-26 11:38:03 -08:00
armor.c libceph: Fix base64-decoding when input ends in newline. 2011-03-15 09:14:02 -07:00
auth_none.c ceph: messenger: reduce args to create_authorizer 2012-11-26 11:38:07 -08:00
auth_none.h
auth_x_protocol.h
auth_x.c ceph: messenger: reduce args to create_authorizer 2012-11-26 11:38:07 -08:00
auth_x.h
auth.c ceph: Move secret key parsing earlier. 2011-03-29 12:11:16 -07:00
buffer.c net: allow GFP_HIGHMEM in __vmalloc() 2010-11-21 10:04:04 -08:00
ceph_common.c libceph: delay debugfs initialization until we learn global_id 2012-11-26 11:38:43 -08:00
ceph_fs.c ceph: fix file mode calculation 2011-07-19 11:25:04 -07:00
ceph_hash.c ceph: add dir_layout to inode 2011-01-12 15:15:12 -08:00
ceph_strings.c
crypto.c libceph: fix crypto key null deref, memory leak 2012-11-26 11:38:42 -08:00
crypto.h libceph: fix crypto key null deref, memory leak 2012-11-26 11:38:42 -08:00
debugfs.c libceph: delay debugfs initialization until we learn global_id 2012-11-26 11:38:43 -08:00
Kconfig ceph: use kernel DNS resolver 2011-10-25 16:10:16 -07:00
Makefile Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2010-12-08 13:47:38 -08:00
messenger.c libceph: avoid NULL kref_put when osd reset races with alloc_msg 2012-11-26 11:38:43 -08:00
mon_client.c libceph: delay debugfs initialization until we learn global_id 2012-11-26 11:38:43 -08:00
msgpool.c libceph: initialize msgpool message types 2012-11-26 11:38:38 -08:00
osd_client.c libceph: check for invalid mapping 2012-11-26 11:38:44 -08:00
osdmap.c libceph: check for invalid mapping 2012-11-26 11:38:44 -08:00
pagelist.c ceph: fix num_pages_free accounting in pagelist 2010-10-20 15:38:23 -07:00
pagevec.c libceph: fix handling of short returns from get_user_pages 2011-03-03 13:47:39 -08:00