Bug 702355 - NFS: Fix build break with CONFIG_NFS_V4=n
Summary: NFS: Fix build break with CONFIG_NFS_V4=n
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: kernel
Version: 5.5.z
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: rc
: 5.8
Assignee: Harshula Jayasuriya
QA Contact: Boris Ranto
URL:
Whiteboard:
Depends On: 565974
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-05 12:35 UTC by Harshula Jayasuriya
Modified: 2011-07-21 10:25 UTC (History)
7 users (show)

Fixed In Version: kernel-2.6.18-264.el5
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-07-21 10:25:29 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2011:1065 0 normal SHIPPED_LIVE Important: Red Hat Enterprise Linux 5.7 kernel security and bug fix update 2011-07-21 09:21:37 UTC

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


Note You need to log in before you can comment on or make changes to this bug.