Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 4 product line. The current stable release is 4.9. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 445412

Summary: clean up CIFS build warnings
Product: Red Hat Enterprise Linux 4 Reporter: Jeff Layton <jlayton>
Component: kernelAssignee: Jeff Layton <jlayton>
Status: CLOSED ERRATA QA Contact: Martin Jenner <mjenner>
Severity: low Docs Contact:
Priority: low    
Version: 4.7CC: staubach, steved
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-05-18 19:36:40 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:    
Bug Blocks: 461304    
Attachments:
Description Flags
patch -- clean up build warnings
none
patch -- clean up build warnings (take #2) none

Description Jeff Layton 2008-05-06 19:04:41 UTC
The recent backported CIFS code throws a lot of build warnings. Clean them up so
that real problems are more readily visible.

Comment 1 Jeff Layton 2008-05-06 20:00:11 UTC
Created attachment 304679 [details]
patch -- clean up build warnings

The warnings are mostly harmless -- most are due to different *_operations
structs being declared "const". This patch silences them. The resulting code is
a little ugly, but it compiles without warning.

I'll also plan to send this patch along to Steve and Shirish to see if they can
roll this into their backported tarballs.

Comment 2 Jeff Layton 2008-05-06 20:19:36 UTC
Created attachment 304682 [details]
patch -- clean up build warnings (take #2)

Slightly revised patch. I had the wrong version in some of the #if's, and it
didn't work correctly with RHEL5's kernel.

Comment 3 RHEL Program Management 2008-09-03 13:16:53 UTC
Updating PM score.

Comment 4 RHEL Program Management 2008-09-22 15:22:27 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 6 Jeff Layton 2009-01-23 15:09:06 UTC
From bug 462459:

Committed in 78.23.EL . RPMS are available at
http://people.redhat.com/vgoyal/rhel4/

...moving this to MODIFIED since the patches for it were part of the larger CIFS update.

Comment 9 errata-xmlrpc 2009-05-18 19:36:40 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-2009-1024.html