<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:15:20 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-8180] RHEL7 __ldiskfs_find_entry can now return ERR_PTR</title>
                <link>https://jira.whamcloud.com/browse/LU-8180</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Now that rhel7 is the first class citizen, I switched my testing to it and immediatelly uncovered that __ldiskfs_find_entry from rhel7.2 kernel can return ERR_PTR.&lt;/p&gt;

&lt;p&gt;All our code assumes there&apos;s only NULL returned in case of an error so this needs fixing.&lt;br/&gt;
Here&apos;s list of places:&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;lustre/osd-ldiskfs/osd_handler.c:4044 osd_index_ea_delete() error: &lt;span class=&quot;code-quote&quot;&gt;&apos;bh&apos;&lt;/span&gt; dereferencing possible ERR_PTR()
lustre/osd-ldiskfs/osd_handler.c:4285 __osd_ea_add_rec() error: &lt;span class=&quot;code-quote&quot;&gt;&apos;bh&apos;&lt;/span&gt; dereferencing possible ERR_PTR()
lustre/osd-ldiskfs/osd_handler.c:4639 osd_ea_lookup_rec() error: &lt;span class=&quot;code-quote&quot;&gt;&apos;bh&apos;&lt;/span&gt; dereferencing possible ERR_PTR()
lustre/osd-ldiskfs/osd_handler.c:4647 osd_ea_lookup_rec() error: &lt;span class=&quot;code-quote&quot;&gt;&apos;bh&apos;&lt;/span&gt; dereferencing possible ERR_PTR()
lustre/osd-ldiskfs/osd_handler.c:5706 osd_dirent_check_repair() error: &lt;span class=&quot;code-quote&quot;&gt;&apos;bh&apos;&lt;/span&gt; dereferencing possible ERR_PTR()
lustre/osd-ldiskfs/osd_handler.c:5742 osd_dirent_check_repair() error: &lt;span class=&quot;code-quote&quot;&gt;&apos;bh&apos;&lt;/span&gt; dereferencing possible ERR_PTR()
lustre/osd-ldiskfs/osd_handler.c:5784 osd_dirent_check_repair() error: &lt;span class=&quot;code-quote&quot;&gt;&apos;bh&apos;&lt;/span&gt; dereferencing possible ERR_PTR()
lustre/osd-ldiskfs/osd_handler.c:5831 osd_dirent_check_repair() error: &lt;span class=&quot;code-quote&quot;&gt;&apos;bh&apos;&lt;/span&gt; dereferencing possible ERR_PTR()
lustre/osd-ldiskfs/osd_compat.c:301 osd_delete_from_remote_parent() error: &lt;span class=&quot;code-quote&quot;&gt;&apos;bh&apos;&lt;/span&gt; dereferencing possible ERR_PTR()
lustre/osd-ldiskfs/osd_compat.c:337 osd_lookup_in_remote_parent() error: &lt;span class=&quot;code-quote&quot;&gt;&apos;bh&apos;&lt;/span&gt; dereferencing possible ERR_PTR()
lustre/osd-ldiskfs/osd_compat.c:655 osd_obj_update_entry() error: &lt;span class=&quot;code-quote&quot;&gt;&apos;bh&apos;&lt;/span&gt; dereferencing possible ERR_PTR()
lustre/osd-ldiskfs/osd_compat.c:689 osd_obj_del_entry() error: &lt;span class=&quot;code-quote&quot;&gt;&apos;bh&apos;&lt;/span&gt; dereferencing possible ERR_PTR()
lustre/osd-ldiskfs/osd_compat.c:960 osd_obj_map_lookup() error: &lt;span class=&quot;code-quote&quot;&gt;&apos;bh&apos;&lt;/span&gt; dereferencing possible ERR_PTR()
lustre/osd-ldiskfs/osd_compat.c:1157 osd_obj_map_recover() error: &lt;span class=&quot;code-quote&quot;&gt;&apos;bh&apos;&lt;/span&gt; dereferencing possible ERR_PTR()
lustre/osd-ldiskfs/osd_compat.c:1179 osd_obj_map_recover() error: &lt;span class=&quot;code-quote&quot;&gt;&apos;bh&apos;&lt;/span&gt; dereferencing possible ERR_PTR()
lustre/osd-ldiskfs/osd_oi.c:122 osd_oi_index_create_one() error: &lt;span class=&quot;code-quote&quot;&gt;&apos;bh&apos;&lt;/span&gt; dereferencing possible ERR_PTR()
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="37122">LU-8180</key>
            <summary>RHEL7 __ldiskfs_find_entry can now return ERR_PTR</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.whamcloud.com/images/icons/priorities/major.svg">Major</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="3">Duplicate</resolution>
                                        <assignee username="wc-triage">WC Triage</assignee>
                                    <reporter username="green">Oleg Drokin</reporter>
                        <labels>
                    </labels>
                <created>Sun, 22 May 2016 22:31:44 +0000</created>
                <updated>Mon, 23 May 2016 17:12:48 +0000</updated>
                            <resolved>Mon, 23 May 2016 17:12:24 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="35680">LU-7939</issuekey>
        </issuelink>
                            </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|hzycfz:</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>