Bug#537202: zaptel-source: fails to build against 2.6.30: error: 'struct proc_dir_entry' has no member named 'owner'
Ean Schuessler
ean at debian.org
Thu Jul 16 01:17:32 UTC 2009
Package: zaptel-source
Version: 1:1.4.11~dfsg-3
Severity: normal
Tags: patch
It appears that the kernel developers have removed the owner field from procfs because it is
"racy" and it is now implicitly set by other operations. The fix is to simply remove attempts
to set the owner.
-- System Information:
Debian Release: 5.0
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.30-1-686-bigmem (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash
Versions of packages zaptel-source depends on:
ii bzip2 1.0.5-1 high-quality block-sorting file co
ii debhelper 7.0.15 helper programs for debian/rules
ii module-assistant 0.10.11.0 tool to make module package creati
Versions of packages zaptel-source recommends:
ii zaptel 1:1.4.11~dfsg-3 zapata telephony utilities
zaptel-source suggests no packages.
-- no debconf information
-------------- next part --------------
--- zaptel2/modules/zaptel/kernel/vzaphfc/vzaphfc_main.c 2008-12-03 04:20:16.000000000 -0600
+++ modules/zaptel/kernel/vzaphfc/vzaphfc_main.c 2009-07-15 19:52:06.000000000 -0500
@@ -1858,22 +1858,22 @@
sizeof(card->proc_dir_name),
"%d", card->cardnum);
card->proc_dir = proc_mkdir(card->proc_dir_name, hfc_proc_zaphfc_dir);
- card->proc_dir->owner = THIS_MODULE;
+// card->proc_dir->owner = THIS_MODULE;
card->proc_info = create_proc_read_entry(
"info", 0444, card->proc_dir,
hfc_proc_read_info, card);
- card->proc_info->owner = THIS_MODULE;
+// card->proc_info->owner = THIS_MODULE;
card->proc_fifos = create_proc_read_entry(
"fifos", 0400, card->proc_dir,
hfc_proc_read_fifos, card);
- card->proc_fifos->owner = THIS_MODULE;
+// card->proc_fifos->owner = THIS_MODULE;
card->proc_bufs = create_proc_read_entry(
"bufs", 0400, card->proc_dir,
hfc_proc_read_bufs, card);
- card->proc_bufs->owner = THIS_MODULE;
+// card->proc_bufs->owner = THIS_MODULE;
hfc_resetCard(card);
More information about the Pkg-voip-maintainers
mailing list