Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

os/chain_xattr: On linux use linux/limits.h for XATTR_NAME_MAX. #6343

Merged
merged 1 commit into from Oct 22, 2015

Conversation

Projects
None yet
3 participants
@dx9
Copy link
Contributor

dx9 commented Oct 22, 2015

Was failing with:

/build/ceph/src/test/objectstore/chain_xattr.cc: In member function 'virtual void chain_xattr_get_and_set_Test::TestBody()':
/build/ceph/src/test/objectstore/chain_xattr.cc:41:41: error: 'XATTR_NAME_MAX' was not declared in this scope
const string name = user + string(CHAIN_XATTR_MAX_NAME_LEN - user.size(), '@');
^
/build/ceph/src/test/objectstore/chain_xattr.cc:83:41: error: 'XATTR_NAME_MAX' was not declared in this scope
const string name = user + string(CHAIN_XATTR_MAX_NAME_LEN - user.size(), '@');

os/chain_xattr: On linux use linux/limits.h for XATTR_NAME_MAX.
Signed-off-by: John Coyle <dx9err@gmail.com>

tchaikov added a commit that referenced this pull request Oct 22, 2015

Merge pull request #6343 from dx9/wip-12406-xattr
os/chain_xattr: On linux use linux/limits.h for XATTR_NAME_MAX.

Reviewed-by: Kefu Chai <kchai@redhat.com>

@tchaikov tchaikov merged commit 8d5ef0e into ceph:master Oct 22, 2015

@tchaikov tchaikov self-assigned this Oct 22, 2015

@tchaikov tchaikov added the cleanup label Oct 22, 2015

@ghost ghost added the core label Feb 15, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.