[asterisk-bugs] [DAHDI-linux 0014964]: [patch] xpp/ fails building with kernel 2.6.30-rc3: proc_dir_entry 'owner' removed

Asterisk Bug Tracker noreply at bugs.digium.com
Tue May 19 11:09:07 CDT 2009


The following issue has been RESOLVED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=14964 
====================================================================== 
Reported By:                tzafrir
Assigned To:                tzafrir
====================================================================== 
Project:                    DAHDI-linux
Issue ID:                   14964
Category:                   Astribank (xpp)
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     resolved
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-04-23 18:39 CDT
Last Modified:              2009-05-19 11:09 CDT
====================================================================== 
Summary:                    [patch] xpp/ fails building with kernel 2.6.30-rc3:
proc_dir_entry 'owner' removed
Description: 
Kernel 2.6.30 removed the owner field of proc_dir_entry . The fix for
2.6.30 is to just not use it. Not sure about previous versions.

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=99b76233803beab302123d243eea9e41149804f3

The attached patch removes it unconditionally.
====================================================================== 

---------------------------------------------------------------------- 
 (0105015) svnbot (reporter) - 2009-05-19 11:09
 https://issues.asterisk.org/view.php?id=14964#c105015 
---------------------------------------------------------------------- 
Repository: dahdi
Revision: 6642

U   linux/trunk/drivers/dahdi/xpp/xbus-core.c
U   linux/trunk/drivers/dahdi/xpp/xdefs.h
U   linux/trunk/drivers/dahdi/xpp/xpp_dahdi.c
U   linux/trunk/drivers/dahdi/xpp/xpp_usb.c

------------------------------------------------------------------------
r6642 | tzafrir | 2009-05-19 11:09:06 -0500 (Tue, 19 May 2009) | 7 lines

xpp: 'owner' property of procfs was dropped in 2.6.30.

This adds a compatibility macro for older versions that is a noop for
kernels >= 2.6.30.

(closes issue https://issues.asterisk.org/view.php?id=14964)

------------------------------------------------------------------------

http://svn.digium.com/view/dahdi?view=rev&revision=6642 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-05-19 11:09 svnbot         Checkin                                      
2009-05-19 11:09 svnbot         Note Added: 0105015                          
2009-05-19 11:09 svnbot         Status                   assigned => resolved
2009-05-19 11:09 svnbot         Resolution               open => fixed       
======================================================================




More information about the asterisk-bugs mailing list