Bug 702355

Summary: NFS: Fix build break with CONFIG_NFS_V4=n
Product: Red Hat Enterprise Linux 5 Reporter: Harshula Jayasuriya <harshula>
Component: kernelAssignee: Harshula Jayasuriya <harshula>
Status: CLOSED ERRATA QA Contact: Boris Ranto <branto>
Severity: low Docs Contact:
Priority: low    
Version: 5.5.zCC: branto, jlayton, qcai, samuel.li, syeghiay, yanwang, yuri
Target Milestone: rc   
Target Release: 5.8   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: kernel-2.6.18-264.el5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-07-21 10:25:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 565974    
Bug Blocks:    

Description Harshula Jayasuriya 2011-05-05 12:35:13 UTC
Yuri Arabadji raised this issue at:
https://bugzilla.redhat.com/show_bug.cgi?id=628889#c20

In Bug 565974, it looks like we missed this related commit:
------------------------------------------------------------
commit e9a404580ccaeb31dd2a976f9929c4f9eb6f3540
Author: Olof Johansson <olof>
Date:   Fri Oct 19 20:41:49 2007 -0500

    nfs: Fix build break with CONFIG_NFS_V4=n
    
    Signed-off-by: Olof Johansson <olof>
    Cc: Trond Myklebust <Trond.Myklebust>
    Signed-off-by: Linus Torvalds <torvalds>

diff --git a/fs/nfs/nfs4_fs.h b/fs/nfs/nfs4_fs.h
index a4e3b96..b35069a 100644
--- a/fs/nfs/nfs4_fs.h
+++ b/fs/nfs/nfs4_fs.h
@@ -236,6 +236,7 @@ extern struct svc_version nfs4_callback_version1;
 #else
 
 #define nfs4_close_state(a, b, c) do { } while (0)
+#define nfs4_close_sync(a, b, c) do { } while (0)
 
 #endif /* CONFIG_NFS_V4 */
 #endif /* __LINUX_FS_NFS_NFS4_FS.H */
------------------------------------------------------------

Regards,
Harshula

Comment 2 RHEL Program Management 2011-05-20 05:19:08 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.

Comment 4 Jarod Wilson 2011-05-25 16:29:57 UTC
Patch(es) available in kernel-2.6.18-264.el5
You can download this test kernel (or newer) from http://people.redhat.com/jwilson/el5
Detailed testing feedback is always welcomed.

Comment 7 errata-xmlrpc 2011-07-21 10:25:29 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2011-1065.html