]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
chain_xattr: add chain_getxattr_buf
authorSamuel Just <sjust@redhat.com>
Fri, 8 Apr 2016 18:32:37 +0000 (11:32 -0700)
committerSamuel Just <sjust@redhat.com>
Fri, 8 Apr 2016 22:39:13 +0000 (15:39 -0700)
commitc7db303028a43230bb0d9d8f029c29371ba2b466
tree85bc45b42ee1476d43045b15b17594c25530504b
parent755c685f2d09c36b53bc39589a77fa73faba5149
chain_xattr: add chain_getxattr_buf

Otherwise callers need to implement buffer doubling in a lot of cases,
which is error prone.

Signed-off-by: Samuel Just <sjust@redhat.com>
src/os/filestore/chain_xattr.cc
src/os/filestore/chain_xattr.h