[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: |
|
||||||||
| 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 ] |
| Comment by Cliff White (Inactive) [ 04/Apr/14 ] |
|
Thank you for the patch. |
| Comment by Cliff White (Inactive) [ 12/May/14 ] |
|
Patch has been merged, am closing this issue |