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

librbd: Initializing members image,operation,journal #16934

Merged
merged 1 commit into from Aug 14, 2017

Conversation

amitkumar50
Copy link

Fixes the coverity issues:

** 1398907 Uninitialized scalar field

CID 1398907 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR)
2. uninit_member: Non-static class member tag_tid is not initialized in
this constructor nor in any functions that it calls.

** 1398906 Uninitialized scalar field

  1. uninit_member: Non-static class member m_r_saved is not initialized in
    this constructor nor in any functions that it calls.
    CID 1398906 (FreeBSD support. #1 of 1): Uninitialized scalar field (UNINIT_CTOR)
  2. uninit_member: Non-static class member m_mirror_mode is not initialized
    in this constructor nor in any functions that it calls.

** 1399592 Uninitialized scalar field

  1. uninit_member: Non-static class member m_order is not initialized in this
    constructor nor in any functions that it calls.
  2. uninit_member: Non-static class member m_size is not initialized in this
    constructor nor in any functions that it calls.
  3. uninit_member: Non-static class member m_features is not initialized in
    this constructor nor in any functions that it calls.
  4. uninit_member: Non-static class member m_incompatible_features is not
    initialized in this constructor nor in any functions that it calls.
  5. uninit_member: Non-static class member m_flags is not initialized in
    this constructor nor in any functions that it calls.
    CID 1399592 (FreeBSD support. #1-2 of 2): Uninitialized scalar field (UNINIT_CTOR)
  6. uninit_member: Non-static class member m_exclusive_locked is not initialized
    in this constructor nor in any functions that it calls.

Signed-off-by: Amit Kumar amitkuma@redhat.com

Fixes the coverity issues:

** 1398907 Uninitialized scalar field
CID 1398907 (ceph#1 of 1): Uninitialized scalar field (UNINIT_CTOR)
2. uninit_member: Non-static class member tag_tid is not initialized in
this constructor nor in any functions that it calls.

** 1398906 Uninitialized scalar field
22. uninit_member: Non-static class member m_r_saved is not initialized in
this constructor nor in any functions that it calls.
CID 1398906 (ceph#1 of 1): Uninitialized scalar field (UNINIT_CTOR)
24. uninit_member: Non-static class member m_mirror_mode is not initialized
in this constructor nor in any functions that it calls.

** 1399592 Uninitialized scalar field
2. uninit_member: Non-static class member m_order is not initialized in this
constructor nor in any functions that it calls.
4. uninit_member: Non-static class member m_size is not initialized in this
constructor nor in any functions that it calls.
6. uninit_member: Non-static class member m_features is not initialized in
this constructor nor in any functions that it calls.
8. uninit_member: Non-static class member m_incompatible_features is not
initialized in this constructor nor in any functions that it calls.
10. uninit_member: Non-static class member m_flags is not initialized in
this constructor nor in any functions that it calls.
CID 1399592 (ceph#1-2 of 2): Uninitialized scalar field (UNINIT_CTOR)
12. uninit_member: Non-static class member m_exclusive_locked is not initialized
in this constructor nor in any functions that it calls.

Signed-off-by: Amit Kumar amitkuma@redhat.com
@amitkumar50
Copy link
Author

jenkins retest this please

@dillaman dillaman merged commit 53e772a into ceph:master Aug 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants