<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:49:12 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-5178] object leak in mdt_rename_sanity()</title>
                <link>https://jira.whamcloud.com/browse/LU-5178</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;This would be addressed by Vitaly&apos;s &lt;a href=&quot;http://review.whamcloud.com/#/c/10484/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/10484/&lt;/a&gt;&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;static int mdt_rename_sanity(struct mdt_thread_info *info,
                             const struct lu_fid *dir_fid,
                             const struct lu_fid *fid)
{
        struct mdt_object *dst;
        struct lu_fid dst_fid = *dir_fid;
        int rc = 0;
        ENTRY;

        /* If the source and target are in the same directory, they can not               
         * be parent/child relationship, so subdir check is not needed */
        if (lu_fid_eq(dir_fid, fid))
                return 0;

        do {
                LASSERT(fid_is_sane(&amp;amp;dst_fid));
                dst = mdt_object_find(info-&amp;gt;mti_env, info-&amp;gt;mti_mdt, &amp;amp;dst_fid);
                if (!IS_ERR(dst)) {
                        /* XXX: this object might not be protected by LDLM lock
                         * here, (see mdt_rename_parents_lock), but LOHA_EXISTS
                         * will not change once it is being set, but LFSCK might
                         * change this later.(LU-5069) */
                        if (!mdt_object_exists(dst))
                                RETURN(-ESTALE);
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="25115">LU-5178</key>
            <summary>object leak in mdt_rename_sanity()</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="6" iconUrl="https://jira.whamcloud.com/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="1">Fixed</resolution>
                                        <assignee username="wc-triage">WC Triage</assignee>
                                    <reporter username="jhammond">John Hammond</reporter>
                        <labels>
                            <label>mdt</label>
                    </labels>
                <created>Wed, 11 Jun 2014 22:01:21 +0000</created>
                <updated>Mon, 16 Jun 2014 20:56:31 +0000</updated>
                            <resolved>Mon, 16 Jun 2014 20:56:25 +0000</resolved>
                                    <version>Lustre 2.6.0</version>
                                    <fixVersion>Lustre 2.6.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                            <comments>
                            <comment id="86458" author="jhammond" created="Thu, 12 Jun 2014 19:12:22 +0000"  >&lt;p&gt;This is not a duplicate of &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-4725&quot; title=&quot;wrong lock ordering in rename leads to deadlocks&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-4725&quot;&gt;&lt;del&gt;LU-4725&lt;/del&gt;&lt;/a&gt;. The two issues have completely different descriptions. If the patch from &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-4725&quot; title=&quot;wrong lock ordering in rename leads to deadlocks&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-4725&quot;&gt;&lt;del&gt;LU-4725&lt;/del&gt;&lt;/a&gt; lands and fixes this issue then fine close this as fixed. If that patch doesn&apos;t land then we still have this issue.&lt;/p&gt;</comment>
                            <comment id="86743" author="jhammond" created="Mon, 16 Jun 2014 20:56:25 +0000"  >&lt;p&gt;Fixed by &lt;a href=&quot;http://review.whamcloud.com/#/c/10484/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/10484/&lt;/a&gt;.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="23498">LU-4725</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="23498">LU-4725</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="25113">LU-5177</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <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|hzwo8f:</customfieldvalue>

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