[LU-4795] server_put_mount() calls server_deregister_mount() even if this isn't the last reference Created: 21/Mar/14  Updated: 04/Jun/14  Resolved: 12/May/14

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.6.0, Lustre 2.5.2
Fix Version/s: Lustre 2.6.0

Type: Bug Priority: Minor
Reporter: Swapnil Pimpale (Inactive) Assignee: Cliff White (Inactive)
Resolution: Fixed Votes: 0
Labels: mn4, obd, patch

Issue Links:
Related
is related to LU-137 ioctl passthrough mechanism for Lustr... Resolved
Severity: 3
Rank (Obsolete): 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.



 Comments   
Comment by Swapnil Pimpale (Inactive) [ 21/Mar/14 ]

Patch: http://review.whamcloud.com/#/c/9749/

Comment by Cliff White (Inactive) [ 04/Apr/14 ]

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

Comment by Cliff White (Inactive) [ 12/May/14 ]

Patch has been merged, am closing this issue

Generated at Sat Feb 10 01:45:55 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.