]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
client: Fix setxattr with 0 size specified 36173/head
authorSidharth Anupkrishnan <sanupkri@redhat.com>
Mon, 6 Jul 2020 09:15:46 +0000 (14:45 +0530)
committerNathan Cutler <ncutler@suse.com>
Sat, 18 Jul 2020 15:43:00 +0000 (17:43 +0200)
commit80085062c3dd48f6c01f3adc3a7a2394a3b3d219
tree3c10a1ed3bfedc892639a6793ef614fc12568496
parentebb3b88fa355f722566c51bd067c51fed0e1c497
client: Fix setxattr with 0 size specified

When xattrs are set with 0 size, the value should be set to an empty string.
Signed-off-by: Sidharth Anupkrishnan <sanupkri@redhat.com>
(cherry picked from commit dd8f1a544d5c98277d42ecace4dad854c428b262)
src/client/Client.cc