From: Alex Elder Date: Tue, 3 Jul 2012 21:01:18 +0000 (-0500) Subject: libceph: fix off-by-one bug in ceph_encode_filepath() X-Git-Tag: v3.6-rc1~36^2~73 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c61a1abd215c1ccd6fa73104c79e79987ed3aa98;p=pandora-kernel.git libceph: fix off-by-one bug in ceph_encode_filepath() There is a BUG_ON() call that doesn't account for the single byte structure version at the start of an encoded filepath in ceph_encode_filepath(). Fix that. Signed-off-by: Alex Elder Reviewed-by: Yehuda Sadeh Reviewed-by: Josh Durgin --- Reading git-diff-tree failed