Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-4795

server_put_mount() calls server_deregister_mount() even if this isn't the last reference

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.6.0
    • Lustre 2.6.0, Lustre 2.5.2
    • 3
    • 13196

    Description

      There is a bug at the end of server_put_mount() calling server_deregister_mount() even if this isn't the last reference.

      Fixing this would probably remove the need for server_

      {get,put}

      _mount_2(). These functions could be removed and the one caller of server_get_mount_2() could be changed to call server_get_mount() and server_put_mount() at the end.

      Attachments

        Issue Links

          Activity

            [LU-4795] server_put_mount() calls server_deregister_mount() even if this isn't the last reference

            Patch has been merged, am closing this issue

            cliffw Cliff White (Inactive) added a comment - Patch has been merged, am closing this issue

            Thank you for the patch.
            It has passed testing and is awaiting review

            cliffw Cliff White (Inactive) added a comment - Thank you for the patch. It has passed testing and is awaiting review
            spimpale Swapnil Pimpale (Inactive) added a comment - Patch: http://review.whamcloud.com/#/c/9749/

            People

              cliffw Cliff White (Inactive)
              spimpale Swapnil Pimpale (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: