diff options
author | Alex Elder <elder@inktank.com> | 2012-07-03 16:01:18 -0500 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2012-07-30 09:29:55 -0700 |
commit | c61a1abd215c1ccd6fa73104c79e79987ed3aa98 (patch) | |
tree | bd3e97181584049386a85f338623b76cf5d83952 /net/atm/mpc.h | |
parent | 8842b3be96c376f174ae0d4f282d14728ad5febf (diff) | |
download | linux-c61a1abd215c1ccd6fa73104c79e79987ed3aa98.tar.gz linux-c61a1abd215c1ccd6fa73104c79e79987ed3aa98.tar.bz2 linux-c61a1abd215c1ccd6fa73104c79e79987ed3aa98.zip |
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 <elder@inktank.com>
Reviewed-by: Yehuda Sadeh <yehuda@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Diffstat (limited to 'net/atm/mpc.h')
0 files changed, 0 insertions, 0 deletions