<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:07: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-7263] object leak in mdt_reint_rename_internal()</title>
                <link>https://jira.whamcloud.com/browse/LU-7263</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;In &lt;tt&gt;mdt_reint_rename_internal()&lt;/tt&gt; if the &lt;tt&gt;mnew&lt;/tt&gt; object is remote then it gets leaked. The last goto label below should be &lt;tt&gt;out_put_new&lt;/tt&gt;:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;                &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (!fid_is_md_operative(new_fid))
                        GOTO(out_put_old, rc = -EPERM);

                mnew = mdt_object_find(info-&amp;gt;mti_env, info-&amp;gt;mti_mdt, new_fid);
                &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (IS_ERR(mnew))
                        GOTO(out_put_old, rc = PTR_ERR(mnew));

                &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (mdt_object_remote(mnew)) {
                        struct mdt_body  *repbody;

                        &lt;span class=&quot;code-comment&quot;&gt;/* Always send rename req to the target child MDT */&lt;/span&gt;
                        repbody = req_capsule_server_get(info-&amp;gt;mti_pill,
                                                         &amp;amp;RMF_MDT_BODY);
                        LASSERT(repbody != NULL);
                        repbody-&amp;gt;mbo_fid1 = *new_fid;
                        repbody-&amp;gt;mbo_valid |= (OBD_MD_FLID | OBD_MD_MDS);
                        GOTO(out_put_old, rc = -EXDEV);
                }
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This leak is reachable.&lt;/p&gt;</description>
                <environment></environment>
        <key id="32537">LU-7263</key>
            <summary>object leak in mdt_reint_rename_internal()</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.whamcloud.com/images/icons/priorities/critical.svg">Critical</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="jhammond">John Hammond</assignee>
                                    <reporter username="jhammond">John Hammond</reporter>
                        <labels>
                            <label>mdt</label>
                    </labels>
                <created>Wed, 7 Oct 2015 17:12:57 +0000</created>
                <updated>Wed, 28 Oct 2015 15:21:45 +0000</updated>
                            <resolved>Wed, 28 Oct 2015 15:21:45 +0000</resolved>
                                    <version>Lustre 2.8.0</version>
                                    <fixVersion>Lustre 2.8.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="129723" author="jgmitter" created="Wed, 7 Oct 2015 18:12:30 +0000"  >&lt;p&gt;HI Bob,&lt;br/&gt;
Can you look at a patch for this?&lt;br/&gt;
Thanks.&lt;br/&gt;
Joe&lt;/p&gt;</comment>
                            <comment id="129726" author="gerrit" created="Wed, 7 Oct 2015 18:13:07 +0000"  >&lt;p&gt;John L. Hammond (john.hammond@intel.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/16751&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/16751&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7263&quot; title=&quot;object leak in mdt_reint_rename_internal()&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7263&quot;&gt;&lt;del&gt;LU-7263&lt;/del&gt;&lt;/a&gt; mdt: put mnew in mdt_reint_rename_internal()&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: f3b67b614fc65328676a474f0c08b22822072881&lt;/p&gt;</comment>
                            <comment id="129727" author="jgmitter" created="Wed, 7 Oct 2015 18:14:58 +0000"  >&lt;p&gt;Reassigning to John as the patch is already in progress&lt;/p&gt;</comment>
                            <comment id="131809" author="gerrit" created="Wed, 28 Oct 2015 13:48:47 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/16751/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/16751/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7263&quot; title=&quot;object leak in mdt_reint_rename_internal()&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7263&quot;&gt;&lt;del&gt;LU-7263&lt;/del&gt;&lt;/a&gt; mdt: put mnew in mdt_reint_rename_internal()&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 6fb74fc4b55fc6f661a127d80360235b3239d362&lt;/p&gt;</comment>
                            <comment id="131841" author="jgmitter" created="Wed, 28 Oct 2015 15:21:45 +0000"  >&lt;p&gt;Landed for 2.8&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|hzxpu7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</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>