<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:00:45 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-6499] leaking a kernel device on error in init_obdclass</title>
                <link>https://jira.whamcloud.com/browse/LU-6499</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Highlighted by smatch:&lt;/p&gt;

&lt;p&gt;init_obdclass has this nice code:&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;        err = misc_register(&amp;amp;obd_psdev);
        if (err) {
                CERROR(&quot;cannot register %d err %d\n&quot;, OBD_DEV_MINOR, err);
                return err;
        }
...
        err = obd_init_caches();
        if (err)
                return err;
        err = class_procfs_init();
        if (err)
                return err;

        err = lu_global_init();
        if (err)
                return err;

        err = lu_capainfo_init();
        if (err)
                return err;
...
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;leaking reference to the just registered device.&lt;br/&gt;
We should really be freeing it on all subsequent errors.&lt;/p&gt;</description>
                <environment></environment>
        <key id="29686">LU-6499</key>
            <summary>leaking a kernel device on error in init_obdclass</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="bfaccini">Bruno Faccini</assignee>
                                    <reporter username="green">Oleg Drokin</reporter>
                        <labels>
                            <label>easy</label>
                    </labels>
                <created>Sat, 25 Apr 2015 18:10:08 +0000</created>
                <updated>Thu, 9 Mar 2017 20:55:10 +0000</updated>
                            <resolved>Wed, 15 Feb 2017 14:06:41 +0000</resolved>
                                    <version>Lustre 2.8.0</version>
                                    <fixVersion>Lustre 2.10.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                            <comments>
                            <comment id="166235" author="bfaccini" created="Fri, 16 Sep 2016 08:36:58 +0000"  >&lt;p&gt;On behalf of &quot;Gerrit Updater&quot;, I am manually adding the following comment because it had been originally added to a wrong ticket (&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6449&quot; title=&quot;Broadcast HSM remove requests with undetermined archive_id to all registered copytools&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6449&quot;&gt;&lt;del&gt;LU-6449&lt;/del&gt;&lt;/a&gt;) due to a typo in the header/1st-line of commit-msg ... :&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;Faccini Bruno (bruno.faccini@intel.com) uploaded a new patch: http://review.whamcloud.com/22544
Subject: LU-6499 obdclass: obdclass module cleanup upon load error
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 18eba47083e13dbb0dd355de57042634a189b0a0
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="184898" author="gerrit" created="Wed, 15 Feb 2017 01:03:14 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/22544/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/22544/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6499&quot; title=&quot;leaking a kernel device on error in init_obdclass&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6499&quot;&gt;&lt;del&gt;LU-6499&lt;/del&gt;&lt;/a&gt; obdclass: obdclass module cleanup upon load error&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: e4761eb1f4d564f111be66a61ac84f9f9be97fc2&lt;/p&gt;</comment>
                            <comment id="184941" author="pjones" created="Wed, 15 Feb 2017 14:06:41 +0000"  >&lt;p&gt;Landed for 2.10&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                                        </outwardlinks>
                                                                <inwardlinks description="is related to">
                                                        </inwardlinks>
                                    </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|hzxbm7:</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>