<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style>
<!--
@font-face
        {font-family:SimSun}
@font-face
        {font-family:SimHei}
@font-face
        {font-family:KaiTi_GB2312}
@font-face
        {font-family:SimSun}
@font-face
        {font-family:KaiTi_GB2312}
@font-face
        {font-family:SimHei}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        text-indent:21.0pt;
        line-height:150%;
        text-autospace:none;
        font-size:10.5pt;
        font-family:"Times New Roman"}
h1
        {margin-top:12.0pt;
        margin-right:0cm;
        margin-bottom:12.0pt;
        margin-left:21.6pt;
        text-align:justify;
        text-justify:inter-ideograph;
        text-indent:-21.6pt;
        page-break-after:avoid;
        font-size:16.0pt;
        font-family:Arial}
h2
        {margin-top:12.0pt;
        margin-right:0cm;
        margin-bottom:12.0pt;
        margin-left:28.8pt;
        text-align:justify;
        text-justify:inter-ideograph;
        text-indent:-28.8pt;
        page-break-after:avoid;
        font-size:12.0pt;
        font-family:Arial;
        font-weight:normal}
h3
        {margin-top:13.0pt;
        margin-right:0cm;
        margin-bottom:13.0pt;
        margin-left:36.0pt;
        text-align:justify;
        text-justify:inter-ideograph;
        text-indent:-36.0pt;
        line-height:173%;
        page-break-after:avoid;
        font-size:12.0pt;
        font-family:"Times New Roman";
        font-weight:normal}
p.MsoHeader, li.MsoHeader, div.MsoHeader
        {margin:0cm;
        margin-bottom:.0001pt;
        text-align:justify;
        text-justify:inter-ideograph;
        layout-grid-mode:char;
        font-size:9.0pt;
        font-family:Arial}
p.MsoFooter, li.MsoFooter, div.MsoFooter
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:9.0pt;
        font-family:Arial}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline}
p.a, li.a, div.a
        {margin-top:12.0pt;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:54.45pt;
        margin-bottom:.0001pt;
        text-align:center;
        text-indent:-18.45pt;
        font-size:9.0pt;
        font-family:Arial}
p.a0, li.a0, div.a0
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.5pt;
        font-family:Arial}
p.a1, li.a1, div.a1
        {margin:0cm;
        margin-bottom:.0001pt;
        text-align:center;
        font-size:10.5pt;
        font-family:Arial;
        font-weight:bold}
p.a2, li.a2, div.a2
        {margin-top:0cm;
        margin-right:0cm;
        margin-bottom:12.0pt;
        margin-left:54.45pt;
        text-align:center;
        text-indent:-18.45pt;
        font-size:9.0pt;
        font-family:Arial}
p.a3, li.a3, div.a3
        {margin-top:4.0pt;
        margin-right:0cm;
        margin-bottom:4.0pt;
        margin-left:0cm;
        text-align:center;
        line-height:150%;
        page-break-after:avoid;
        text-autospace:none;
        font-size:10.5pt;
        font-family:"Times New Roman"}
p.a4, li.a4, div.a4
        {margin-top:15.0pt;
        margin-right:0cm;
        margin-bottom:15.0pt;
        margin-left:0cm;
        text-align:center;
        line-height:150%;
        text-autospace:none;
        font-size:18.0pt;
        font-family:Arial}
p.a5, li.a5, div.a5
        {margin:0cm;
        margin-bottom:.0001pt;
        line-height:150%;
        text-autospace:none;
        font-size:10.5pt;
        font-family:"Times New Roman"}
p.a6, li.a6, div.a6
        {margin:0cm;
        margin-bottom:.0001pt;
        text-align:justify;
        text-justify:inter-ideograph;
        line-height:150%;
        text-autospace:none;
        border:none;
        padding:0cm;
        font-size:9.0pt;
        font-family:Arial}
p.a7, li.a7, div.a7
        {margin:0cm;
        margin-bottom:.0001pt;
        text-align:justify;
        text-justify:inter-ideograph;
        text-indent:18.0pt;
        line-height:150%;
        text-autospace:none;
        border:none;
        padding:0cm;
        font-size:9.0pt;
        font-family:Arial}
p.a8, li.a8, div.a8
        {margin:0cm;
        margin-bottom:.0001pt;
        text-indent:21.0pt;
        line-height:150%;
        text-autospace:none;
        font-size:10.5pt;
        font-family:Arial;
        color:blue;
        font-style:italic}
span.EmailStyle30
        {font-family:Arial;
        color:windowtext}
@page Section1
        {margin:72.0pt 90.0pt 72.0pt 90.0pt;
        layout-grid:15.6pt}
div.Section1
        {}
ol
        {margin-bottom:0cm}
ul
        {margin-bottom:0cm}
-->
</style>
</head>
<body lang="ZH-CN" link="blue" vlink="purple" style="">
<div class="Section1" style="layout-grid:15.6pt">
<p class="MsoNormal" style="text-indent:18.0pt"><font size="1" face="Arial"><span lang="EN-US" style="font-size:9.0pt; line-height:150%; font-family:Arial">Hi,</span></font></p>
<p class="MsoNormal" style="text-indent:18.0pt"><font size="1" face="Arial"><span lang="EN-US" style="font-size:9.0pt; line-height:150%; font-family:Arial">&nbsp;Version linux-3.3</span></font></p>
<p class="MsoNormal" style="text-indent:18.0pt"><font size="1" face="Arial"><span lang="EN-US" style="font-size:9.0pt; line-height:150%; font-family:Arial">In function</span></font></p>
<p class="MsoNormal" style="text-indent:18.0pt"><font size="1" face="Arial"><span lang="EN-US" style="font-size:9.0pt; line-height:150%; font-family:Arial">static long ocfs2_fallocate(struct file *file, int mode, loff_t offset,</span></font></p>
<p class="MsoNormal" style="text-indent:18.0pt"><font size="1" face="Arial"><span lang="EN-US" style="font-size:9.0pt; line-height:150%; font-family:Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; loff_t len)</span></font></p>
<p class="MsoNormal" style="text-indent:18.0pt"><font size="1" face="Arial"><span lang="EN-US" style="font-size:9.0pt; line-height:150%; font-family:Arial">{</span></font></p>
<p class="MsoNormal" style="text-indent:18.0pt"><font size="1" face="Arial"><span lang="EN-US" style="font-size:9.0pt; line-height:150%; font-family:Arial">…</span></font></p>
<p class="MsoNormal" style="text-indent:18.0pt"><font size="1" face="Arial"><span lang="EN-US" style="font-size:9.0pt; line-height:150%; font-family:Arial">return __ocfs2_change_file_space(NULL, inode, offset, cmd, &amp;sr,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // file is NULL</span></font></p>
<p class="MsoNormal" style="text-indent:18.0pt"><font size="1" face="Arial"><span lang="EN-US" style="font-size:9.0pt; line-height:150%; font-family:Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;change_size);</span></font></p>
<p class="MsoNormal" style="text-indent:18.0pt"><font size="1" face="Arial"><span lang="EN-US" style="font-size:9.0pt; line-height:150%; font-family:Arial">}</span></font></p>
<p class="MsoNormal" style="text-indent:18.0pt"><font size="1" face="Arial"><span lang="EN-US" style="font-size:9.0pt; line-height:150%; font-family:Arial">&nbsp;</span></font></p>
<p class="MsoNormal" style="text-indent:18.0pt"><font size="1" face="Arial"><span lang="EN-US" style="font-size:9.0pt; line-height:150%; font-family:Arial">In function</span></font></p>
<p class="MsoNormal" style="text-indent:18.0pt"><font size="1" face="Arial"><span lang="EN-US" style="font-size:9.0pt; line-height:150%; font-family:Arial">static int __ocfs2_change_file_space(struct file *file, struct inode *inode,</span></font></p>
<p class="MsoNormal" style="text-indent:18.0pt"><font size="1" face="Arial"><span lang="EN-US" style="font-size:9.0pt; line-height:150%; font-family:Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; loff_t f_pos, unsigned int cmd,</span></font></p>
<p class="MsoNormal" style="text-indent:18.0pt"><font size="1" face="Arial"><span lang="EN-US" style="font-size:9.0pt; line-height:150%; font-family:Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; struct ocfs2_space_resv *sr,</span></font></p>
<p class="MsoNormal" style="text-indent:18.0pt"><font size="1" face="Arial"><span lang="EN-US" style="font-size:9.0pt; line-height:150%; font-family:Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; int change_size)</span></font></p>
<p class="MsoNormal" style="text-indent:18.0pt"><font size="1" face="Arial"><span lang="EN-US" style="font-size:9.0pt; line-height:150%; font-family:Arial">{</span></font></p>
<p class="MsoNormal" style="text-indent:18.0pt"><font size="1" face="Arial"><span lang="EN-US" style="font-size:9.0pt; line-height:150%; font-family:Arial">if (file-&gt;f_flags &amp; O_SYNC)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 // access file-&gt;f_flags result null pointer</span></font></p>
<p class="MsoNormal" style="text-indent:18.0pt"><font size="1" face="Arial"><span lang="EN-US" style="font-size:9.0pt; line-height:150%; font-family:Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; handle-&gt;h_sync = 1;</span></font></p>
<p class="MsoNormal" style="text-indent:18.0pt"><font size="1" face="Arial"><span lang="EN-US" style="font-size:9.0pt; line-height:150%; font-family:Arial">}</span></font></p>
<p class="MsoNormal" style="text-indent:18.0pt"><font size="1" face="Arial"><span lang="EN-US" style="font-size:9.0pt; line-height:150%; font-family:Arial">&nbsp;</span></font></p>
<p class="MsoNormal" style="text-indent:18.0pt"><font size="1" face="Arial"><span lang="EN-US" style="font-size:9.0pt; line-height:150%; font-family:Arial">Changlimin</span></font></p>
<p class="MsoNormal" style="text-indent:18.0pt"><font size="1" face="Arial"><span lang="EN-US" style="font-size:9.0pt; line-height:150%; font-family:Arial">&nbsp;</span></font></p>
</div>
<span style="font-size:7.5pt; font-family:华文细黑; color:gray"><span lang="EN-US">-------------------------------------------------------------------------------------------------------------------------------------<br>
</span>本邮件及其附件含有杭州华三通信技术有限公司的保密信息,仅限于发送给上面地址中列出<span lang="EN-US"><br>
</span>的个人或群组。禁止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、<span lang="EN-US"><br>
</span>或散发)本邮件中的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本<span lang="EN-US"><br>
</span>邮件!<span lang="EN-US"><br>
</span></span><span lang="EN-US" style="font-size:7.5pt; font-family:&quot;Arial&quot;,&quot;sans-serif&quot;; color:gray">This e-mail and its attachments contain confidential information from H3C, which is
<br>
intended only for the person or entity whose address is listed above. Any use of the
<br>
information contained herein in any way (including, but not limited to, total or partial
<br>
disclosure, reproduction, or dissemination) by persons other than the intended <br>
recipient(s) is prohibited. If you receive this e-mail in error, please notify the sender
<br>
by phone or email immediately and delete it!</span>
</body>
</html>