<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:46:55 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-4911] Using wrong attr inside mdd_is_subdir </title>
                <link>https://jira.whamcloud.com/browse/LU-4911</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;in mdd_is_subdir, it keeps using the same attr for all parents lookup, &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 mdd_is_parent(const struct lu_env *env,
                        struct mdd_device *mdd,
                        struct mdd_object *p1,
                        const struct lu_attr *attr,
                        const struct lu_fid *lf,
                        struct lu_fid *pf)
{
......


        for(;;) {
                /* this is done recursively, bypass capa for each obj */
                mdd_set_capainfo(env, 4, p1, BYPASS_CAPA);
                rc = mdd_parent_fid(env, p1, attr, pfid);
                .....

                p1 = parent;  &amp;lt;-----  p1 is changed to its parent, we should retrieve new attr here.
                 
        }

}

&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="24216">LU-4911</key>
            <summary>Using wrong attr inside mdd_is_subdir </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="3">Duplicate</resolution>
                                        <assignee username="wc-triage">WC Triage</assignee>
                                    <reporter username="di.wang">Di Wang</reporter>
                        <labels>
                    </labels>
                <created>Tue, 15 Apr 2014 17:06:26 +0000</created>
                <updated>Sat, 9 Oct 2021 06:04:55 +0000</updated>
                            <resolved>Sat, 9 Oct 2021 06:04:55 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="81657" author="adilger" created="Tue, 15 Apr 2014 18:18:20 +0000"  >&lt;p&gt;Di, how critical is this issue?  Does it need to be a blocker for 2.6.0?  Does it mean the remote directories are not working correctly?&lt;/p&gt;</comment>
                            <comment id="81662" author="di.wang" created="Tue, 15 Apr 2014 18:22:53 +0000"  >&lt;p&gt;oh, not critical, probably not serious enough to become a blocker. I just found this issue, when I inspect #9538, I guess it might cause some security issue, since we use the attr to do permission check here. But the fix should be easy IMHO, just add another attr_get before call mdd_parent_fid.  &lt;/p&gt;</comment>
                            <comment id="315103" author="adilger" created="Sat, 9 Oct 2021 06:04:55 +0000"  >&lt;p&gt;Fixed via &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11104&quot; title=&quot;rename under striped directory may cause deadlock&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11104&quot;&gt;&lt;del&gt;LU-11104&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="52601">LU-11104</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|hzwk4n:</customfieldvalue>

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