Re: [PATCH] ceph: don't null-terminate xattr values

2012-03-02 Thread Sage Weil
Reviewed-by: Sage Weil On Tue, 28 Feb 2012, Alex Elder wrote: > For some reason, ceph_setxattr() allocates an extra byte in which a > '\0' is stored past the end of an extended attribute value. This is > not needed, and is potentially misleading, so get rid of it. > > Signed-off-by: Alex Elde

[PATCH] ceph: don't null-terminate xattr values

2012-02-28 Thread Alex Elder
For some reason, ceph_setxattr() allocates an extra byte in which a '\0' is stored past the end of an extended attribute value. This is not needed, and is potentially misleading, so get rid of it. Signed-off-by: Alex Elder --- fs/ceph/xattr.c |4 +--- 1 files changed, 1 insertions(+), 3 de