<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:35:24 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>Whamcloud Community JIRA</title>
    <link>https://jira.whamcloud.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.4.14</version>
        <build-number>940014</build-number>
        <build-date>05-12-2023</build-date>
    </build-info>


<item>
            <title>[LU-3611] Wrong order of locking and allocating memory in mgs_pool_cmd()</title>
                <link>https://jira.whamcloud.com/browse/LU-3611</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;In function mgs_pool_cmd(), fsdb_mutex is locked and then mti is allocated. It is not correct and will cause problem if memory allocating fails and leaves fsdb_mutex locked. Following is the codes.&lt;/p&gt;

&lt;p&gt;	mutex_lock(&amp;amp;fsdb-&amp;gt;fsdb_mutex);&lt;/p&gt;

&lt;p&gt;        if (canceled_label != NULL) &lt;/p&gt;
{
                OBD_ALLOC_PTR(mti);
                if (mti == NULL)
			GOTO(out_cancel, rc = -ENOMEM);
        }</description>
                <environment></environment>
        <key id="19907">LU-3611</key>
            <summary>Wrong order of locking and allocating memory in mgs_pool_cmd()</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="4" iconUrl="https://jira.whamcloud.com/images/icons/priorities/minor.svg">Minor</priority>
                        <status id="5" iconUrl="https://jira.whamcloud.com/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="1">Fixed</resolution>
                                        <assignee username="keith">Keith Mannthey</assignee>
                                    <reporter username="lixi">Li Xi</reporter>
                        <labels>
                            <label>mq313</label>
                            <label>patch</label>
                    </labels>
                <created>Mon, 22 Jul 2013 04:28:29 +0000</created>
                <updated>Fri, 13 Sep 2013 03:53:37 +0000</updated>
                            <resolved>Fri, 13 Sep 2013 03:53:37 +0000</resolved>
                                    <version>Lustre 2.4.1</version>
                    <version>Lustre 2.5.0</version>
                                    <fixVersion>Lustre 2.4.1</fixVersion>
                    <fixVersion>Lustre 2.5.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="62665" author="lixi" created="Mon, 22 Jul 2013 04:35:57 +0000"  >&lt;p&gt;Here is the patch that fixes the problem.&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/7065&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/7065&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="62667" author="keith" created="Mon, 22 Jul 2013 05:52:20 +0000"  >&lt;p&gt;This fix will also be needed on Master. &lt;/p&gt;</comment>
                            <comment id="66567" author="pjones" created="Fri, 13 Sep 2013 03:53:37 +0000"  >&lt;p&gt;Landed for 2.4.1 and 2.5&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                            <customfield id="customfield_10890" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzvvrj:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9280</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10060" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Severity</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10022"><![CDATA[3]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        </customfields>
    </item>
</channel>
</rss>