diff options
author | Yan, Zheng <zheng.z.yan@intel.com> | 2014-03-24 13:00:54 +0800 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2014-04-04 21:07:19 -0700 |
commit | 1e5c6649ff0a2049511bafa297277234011a5c58 (patch) | |
tree | 3ca17fdb82efe6d3b80158bcc08af58e9fc5c1af /net/ceph | |
parent | 00bd8edb861eb41d274938cfc0338999d9c593a3 (diff) | |
download | op-kernel-dev-1e5c6649ff0a2049511bafa297277234011a5c58.zip op-kernel-dev-1e5c6649ff0a2049511bafa297277234011a5c58.tar.gz |
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>
Diffstat (limited to 'net/ceph')
0 files changed, 0 insertions, 0 deletions