]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
os/chain_xattr: fix listxattr buffer size
authorSage Weil <sage@inktank.com>
Mon, 29 Oct 2012 15:33:52 +0000 (08:33 -0700)
committerSage Weil <sage@inktank.com>
Mon, 5 Nov 2012 08:13:53 +0000 (00:13 -0800)
commitb7f89cb7b0f51df9b0264c20acfab863bf6a655f
treebdb8905ed258a9d72dc67210abee279828bc702e
parent54966006bcf69890e07381e40384584dee2f4790
os/chain_xattr: fix listxattr buffer size

Intenrally allocate 2x the raw listxattr result; tell the user the same.

Signed-off-by: Sage Weil <sage@inktank.com>
src/os/chain_xattr.cc