[LU-3627] Incorrect NULL return value of qsd_init() Created: 24/Jul/13  Updated: 31/Jul/13  Resolved: 26/Jul/13

Status: Closed
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.5.0
Fix Version/s: Lustre 2.5.0

Type: Bug Priority: Critical
Reporter: Li Xi (Inactive) Assignee: James Nunez (Inactive)
Resolution: Fixed Votes: 0
Labels: patch

Severity: 3
Rank (Obsolete): 9335

 Description   

qsd_init() might return NULL in some cases, which is not correct and
may make kernel crash. This patch fixes this problem.



 Comments   
Comment by Li Xi (Inactive) [ 24/Jul/13 ]

Here is the patch that fixes the problem.
http://review.whamcloud.com/7100

Comment by James Nunez (Inactive) [ 26/Jul/13 ]

Landed to master.

Comment by Li Xi (Inactive) [ 31/Jul/13 ]

I am so Sorry. I found I made a big mistake here. MGS failed to mount because qsd_init() return -EINVAL if the patch is applied.

I am wondering why the autotest system did not stop me.Maybe it did not test the patch at all?

Sorry for this, really.

Comment by Cliff White (Inactive) [ 31/Jul/13 ]

Autotest runs only a combined MGT/MDT, no tests with an external MGT. Perhaps that needs to be a bug.

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