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

osd: filestore: fix wrong scope of result code for error cases during mkfs #7704

Merged
merged 1 commit into from Mar 2, 2016

Commits on Feb 19, 2016

  1. os/filestore: fix wrong scope of result code for error cases during mkfs

    During the mkfs process, if we fail to read and sometimes rewrite the
    op_seq, the mkfs process is abnormally terminated but we may
    still return a positive answer to the caller, which is misleading.
    
    This patch is provided to solve the above problems by correctly setting
    'ret' correspondingly under these cases, which is the final answer to
    be passed out for caller.
    
    Fixes: ceph#14814
    Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
    xiexingguo committed Feb 19, 2016
    Configuration menu
    Copy the full SHA
    68f300d View commit details
    Browse the repository at this point in the history