<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:32:00 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-17027] missing #include &lt;linux/file.h&gt; in lustre/target/tgt_mount.c</title>
                <link>https://jira.whamcloud.com/browse/LU-17027</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;commit &quot;ac0380dc51 &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-137&quot; title=&quot;ioctl passthrough mechanism for Lustre OST/MDT mountpoints&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-137&quot;&gt;&lt;del&gt;LU-137&lt;/del&gt;&lt;/a&gt; osd-ldiskfs: pass through resize ioctl&quot; introduces alloc_file_pseudo() to lustre/target/tgt_mount.c which needs to inclucde &amp;lt;linux/file.h&amp;gt; for 4.19 kernel.&lt;/p&gt;

&lt;p&gt;4.19.90 kernel build fails:&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;
make[3]: Entering directory &lt;span class=&quot;code-quote&quot;&gt;&apos;/usr/src/kernels/4.19.90-2308.1.0.0212.oe1.aarch64&apos;&lt;/span&gt;
&#160; CC [M]&#160; /home/openeuler/lustre-release/lustre/ptlrpc/../../lustre/target/tgt_mount.o
/home/openeuler/lustre-release/lustre/ptlrpc/../../lustre/target/tgt_mount.c: In function &#8216;server_ioctl&#8217;:
/home/openeuler/lustre-release/lustre/ptlrpc/../../lustre/target/tgt_mount.c:1971:14: error: implicit declaration of function &#8216;alloc_file_pseudo&#8217;; did you mean &#8216;alloc_pipe_info&#8217;? [-Werror=implicit-function-declaration]
&#160; root_filp = alloc_file_pseudo(root_inode, root_mnt, &lt;span class=&quot;code-quote&quot;&gt;&quot;/&quot;&lt;/span&gt;,
&#160; &#160; &#160; &#160; &#160; &#160; &#160; ^~~~~~~~~~~~~~~~~
&#160; &#160; &#160; &#160; &#160; &#160; &#160; alloc_pipe_info
/home/openeuler/lustre-release/lustre/ptlrpc/../../lustre/target/tgt_mount.c:1971:12: warning: assignment makes pointer from integer without a &lt;span class=&quot;code-keyword&quot;&gt;cast&lt;/span&gt; [-Wint-conversion]
&#160; root_filp = alloc_file_pseudo(root_inode, root_mnt, &lt;span class=&quot;code-quote&quot;&gt;&quot;/&quot;&lt;/span&gt;,
&#160; &#160; &#160; &#160; &#160; &#160; ^
/home/openeuler/lustre-release/lustre/ptlrpc/../../lustre/target/tgt_mount.c:1975:2: error: implicit declaration of function &#8216;fput&#8217;; did you mean &#8216;iput&#8217;? [-Werror=implicit-function-declaration]
&#160; fput(root_filp);
&#160; ^~~~
&#160; iput
/home/openeuler/lustre-release/lustre/ptlrpc/../../lustre/target/tgt_mount.c: At top level:
cc1: warning: unrecognized command line option &#8216;-Wno-stringop-truncation&#8217;
cc1: some warnings being treated as errors
make[6]: *** [scripts/Makefile.build:304: /home/openeuler/lustre-release/lustre/ptlrpc/../../lustre/target/tgt_mount.o] Error 1
make[5]: *** [scripts/Makefile.build:544: /home/openeuler/lustre-release/lustre/ptlrpc] Error 2
make[4]: *** [scripts/Makefile.build:544: /home/openeuler/lustre-release/lustre] Error 2
make[3]: *** [Makefile:1524: _module_/home/openeuler/lustre-release] Error 2
make[3]: Leaving directory &lt;span class=&quot;code-quote&quot;&gt;&apos;/usr/src/kernels/4.19.90-2308.1.0.0212.oe1.aarch64&apos;&lt;/span&gt;
make[2]: *** [autoMakefile:1167: modules] Error 2
make[2]: Leaving directory &lt;span class=&quot;code-quote&quot;&gt;&apos;/home/openeuler/lustre-release&apos;&lt;/span&gt;
make[1]: *** [autoMakefile:704: all-recursive] Error 1
make[1]: Leaving directory &lt;span class=&quot;code-quote&quot;&gt;&apos;/home/openeuler/lustre-release&apos;&lt;/span&gt;
make: *** [autoMakefile:568: all] Error 2
[openeuler@oe2003-test lustre-release]$  &lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="77441">LU-17027</key>
            <summary>missing #include &lt;linux/file.h&gt; in lustre/target/tgt_mount.c</summary>
                <type id="4" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11310&amp;avatarType=issuetype">Improvement</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="xinliang">Xinliang Liu</assignee>
                                    <reporter username="xinliang">Xinliang Liu</reporter>
                        <labels>
                    </labels>
                <created>Tue, 15 Aug 2023 07:28:04 +0000</created>
                <updated>Thu, 24 Aug 2023 12:54:48 +0000</updated>
                            <resolved>Thu, 24 Aug 2023 12:54:48 +0000</resolved>
                                                    <fixVersion>Lustre 2.16.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="382421" author="gerrit" created="Tue, 15 Aug 2023 08:01:37 +0000"  >&lt;p&gt;&quot;xinliang &amp;lt;xinliang.liu@linaro.org&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/51943&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/51943&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-17027&quot; title=&quot;missing #include &amp;lt;linux/file.h&amp;gt; in lustre/target/tgt_mount.c&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-17027&quot;&gt;&lt;del&gt;LU-17027&lt;/del&gt;&lt;/a&gt; target: include linux/file.h&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: c401791131742bf70446c9795eafdaa9730104ec&lt;/p&gt;</comment>
                            <comment id="383522" author="gerrit" created="Thu, 24 Aug 2023 04:36:39 +0000"  >&lt;p&gt;&quot;Oleg Drokin &amp;lt;green@whamcloud.com&amp;gt;&quot; merged in patch &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/51943/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/51943/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-17027&quot; title=&quot;missing #include &amp;lt;linux/file.h&amp;gt; in lustre/target/tgt_mount.c&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-17027&quot;&gt;&lt;del&gt;LU-17027&lt;/del&gt;&lt;/a&gt; target: include linux/file.h&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 2031b2608d1b195e079d11411bb4747a10b340e1&lt;/p&gt;</comment>
                            <comment id="383559" author="pjones" created="Thu, 24 Aug 2023 12:54:48 +0000"  >&lt;p&gt;Landed for 2.16&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="67728">LU-15396</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="10459">LU-137</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|i03syv:</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>