commit | 1e5c6649ff0a2049511bafa297277234011a5c58 | [log] [tgz] |
---|---|---|
author | Yan, Zheng <zheng.z.yan@intel.com> | Mon Mar 24 13:00:54 2014 +0800 |
committer | Sage Weil <sage@inktank.com> | Fri Apr 04 21:07:19 2014 -0700 |
tree | 3ca17fdb82efe6d3b80158bcc08af58e9fc5c1af | |
parent | 00bd8edb861eb41d274938cfc0338999d9c593a3 [diff] |
ceph: check buffer size in ceph_vxattrcb_layout() If buffer size is zero, return the size of layout vxattr. If buffer size is not zero, check if it is large enough for layout vxattr. Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>