<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:34:09 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-17282] gss build error: too few arguments to function &apos;get_expiry&apos;</title>
                <link>https://jira.whamcloud.com/browse/LU-17282</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Building Lustre codes on RHEL 9.3 with kernel 5.14.0-362.8.1.el9_3 failed as follows:&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;  CC [M]  /root/lustre-release/lustre/ptlrpc/gss/gss_svc_upcall.o
/root/lustre-release/lustre/ptlrpc/gss/gss_svc_upcall.c: In function &apos;rsi_parse&apos;:
/root/lustre-release/lustre/ptlrpc/gss/gss_svc_upcall.c:681:18: error: too few arguments to function &apos;get_expiry&apos;
  681 |         expiry = get_expiry(&amp;amp;mesg);
      |                  ^~~~~~~~~~
In file included from /root/lustre-release/lustre/ptlrpc/gss/gss_svc_upcall.c:57:
include/linux/sunrpc/cache.h:303:19: note: declared here
  303 | static inline int get_expiry(char **bpp, time64_t *rvp)
      |                   ^~~~~~~~~~
/root/lustre-release/lustre/ptlrpc/gss/gss_svc_upcall.c: In function &apos;rsc_parse&apos;:
/root/lustre-release/lustre/ptlrpc/gss/gss_svc_upcall.c:937:18: error: too few arguments to function &apos;get_expiry&apos;
  937 |         expiry = get_expiry(&amp;amp;mesg);
      |                  ^~~~~~~~~~
In file included from /root/lustre-release/lustre/ptlrpc/gss/gss_svc_upcall.c:57:
include/linux/sunrpc/cache.h:303:19: note: declared here
  303 | static inline int get_expiry(char **bpp, time64_t *rvp)
      |                   ^~~~~~~~~~
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;The definition of get_expiry() in include/linux/sunrpc/cache.h was changed by the following linux kernel commit:&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;commit cf64b9bce95095b80f4589e4f54572cc5d8c1538
Author:     NeilBrown &amp;lt;neilb@suse.de&amp;gt;
AuthorDate: Wed Mar 8 17:51:00 2023 +1100
Commit:     Chuck Lever &amp;lt;chuck.lever@oracle.com&amp;gt;
CommitDate: Wed Apr 26 09:05:00 2023 -0400

    SUNRPC: return proper error from get_expiry()
    
    The get_expiry() function currently returns a timestamp, and uses the
    special return value of 0 to indicate an error.
    
    Unfortunately this causes a problem when 0 is the correct return value.
    
    On a system with no RTC it is possible that the boot time will be seen
    to be &quot;3&quot;.  When exportfs probes to see if a particular filesystem
    supports NFS export it tries to cache information with an expiry time of
    &quot;3&quot;.  The intention is for this to be &quot;long in the past&quot;.  Even with no
    RTC it will not be far in the future (at most a second or two) so this
    is harmless.
    But if the boot time happens to have been calculated to be &quot;3&quot;, then
    get_expiry will fail incorrectly as it converts the number to &quot;seconds
    since bootime&quot; - 0.
    
    To avoid this problem we change get_expiry() to report the error quite
    separately from the expiry time.  The error is now the return value.
    The expiry time is reported through a by-reference parameter.
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="78907">LU-17282</key>
            <summary>gss build error: too few arguments to function &apos;get_expiry&apos;</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.whamcloud.com/images/icons/priorities/critical.svg">Critical</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="yujian">Jian Yu</assignee>
                                    <reporter username="yujian">Jian Yu</reporter>
                        <labels>
                    </labels>
                <created>Fri, 10 Nov 2023 22:13:14 +0000</created>
                <updated>Mon, 13 Nov 2023 12:06:18 +0000</updated>
                            <resolved>Mon, 13 Nov 2023 12:06:04 +0000</resolved>
                                    <version>Lustre 2.16.0</version>
                    <version>Lustre 2.15.4</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="392872" author="gerrit" created="Mon, 13 Nov 2023 09:59:56 +0000"  >&lt;p&gt;&quot;Jian Yu &amp;lt;yujian@whamcloud.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/53112&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/53112&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-17282&quot; title=&quot;gss build error: too few arguments to function &amp;#39;get_expiry&amp;#39;&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-17282&quot;&gt;&lt;del&gt;LU-17282&lt;/del&gt;&lt;/a&gt; gss: fix get_expiry() build error&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: b3c4780ada34d70329561dbe32858cf66e5bac96&lt;/p&gt;</comment>
                            <comment id="392874" author="yujian" created="Mon, 13 Nov 2023 10:13:33 +0000"  >&lt;p&gt;Just found the failure was fixed in &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/50875&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/50875&lt;/a&gt; &quot;&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16802&quot; title=&quot;Kernel 6.4 client support&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16802&quot;&gt;&lt;del&gt;LU-16802&lt;/del&gt;&lt;/a&gt; build: compatibility for 6.4 kernels&quot;.&lt;br/&gt;
I will port the patch to b2_15 branch.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="75942">LU-16802</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="78850">LU-17274</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|i041m7:</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>