]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/filestore: exit if we fail to remove any xattr
authorxie xingguo <xie.xingguo@zte.com.cn>
Sat, 20 Feb 2016 06:44:42 +0000 (14:44 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Tue, 15 Mar 2016 13:53:53 +0000 (21:53 +0800)
commitbbde2f0d27b37c8ed68c0acb923482514789dd53
tree95ee83dae1d1576334496e8f90d5e74706500aef
parente730a9846ee94bfff6657489a9d655a0f9f0a5ff
os/filestore: exit if we fail to remove any xattr

The problem here is if we fail to remove one of the existing xattr
stored with fd, and we spill out more xattrs to ObjectMap, we'll
go on to cleaning up the remaining xattrs in ObjectMap, and thus
the real failure might be covered.

This commit solves the above problem by making a quick exit if
we fail to remove any xattr bound with file.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
src/os/filestore/FileStore.cc