Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 352252 Details for
Bug 469992
net-fs/openafs-kernel-1.6.2 with sys-kernel/gentoo-sources 3.9.2 - .../work/openafs-1.6.2/src/libafs/MODLOAD-3.9.2-gentoo-MP/osi_vnodeops.c:727:56: error: macro "hlist_for_each_entry" passed 4 arguments, but takes just 3
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to fix openafs-compilation with kernel 3.9
openafs-1.6.2-kernel-3.9.patch (text/plain), 2.80 KB, created by
Oliver Freyermuth
on 2013-06-29 18:33:06 UTC
(
hide
)
Description:
Patch to fix openafs-compilation with kernel 3.9
Filename:
MIME Type:
Creator:
Oliver Freyermuth
Created:
2013-06-29 18:33:06 UTC
Size:
2.80 KB
patch
obsolete
>From d585eb30baf767d50e93ee52db88d73afb76e9cb Mon Sep 17 00:00:00 2001 >From: Marc Dionne <marc.c.dionne@gmail.com> >Date: Tue, 5 Mar 2013 20:54:50 -0500 >Subject: [PATCH] Linux 3.9: hlist iterator change > >hlist iterators have been reworked to not require a temporary >node parameter. > >Reviewed-on: http://gerrit.openafs.org/9403 >Tested-by: BuildBot <buildbot@rampaginggeek.com> >Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com> >Reviewed-by: Derrick Brashear <shadow@your-file-system.com> >(cherry picked from commit 9cfd7f768ca350d3b750e89e7ddb186bdad6f726) > >Change-Id: I47df8894467f4bb1c60cf239ec0ce0a4d6ca29aa >--- > acinclude.m4 | 1 + > src/afs/LINUX/osi_vnodeops.c | 6 +++++- > src/cf/linux-test4.m4 | 15 +++++++++++++++ > 3 files changed, 21 insertions(+), 1 deletions(-) > >diff --git a/acinclude.m4 b/acinclude.m4 >index 4223bb1..6f5bc8d 100644 >--- a/acinclude.m4 >+++ b/acinclude.m4 >@@ -991,6 +991,7 @@ case $AFS_SYSNAME in *_linux* | *_umlinux*) > LINUX_KMAP_ATOMIC_TAKES_NO_KM_TYPE > LINUX_DENTRY_OPEN_TAKES_PATH > LINUX_D_ALIAS_IS_HLIST >+ LINUX_HLIST_ITERATOR_NO_NODE > LINUX_IOP_I_CREATE_TAKES_BOOL > LINUX_DOP_D_REVALIDATE_TAKES_UNSIGNED > LINUX_IOP_LOOKUP_TAKES_UNSIGNED >diff --git a/src/afs/LINUX/osi_vnodeops.c b/src/afs/LINUX/osi_vnodeops.c >index 1366b96..8e7dfe2 100644 >--- a/src/afs/LINUX/osi_vnodeops.c >+++ b/src/afs/LINUX/osi_vnodeops.c >@@ -701,7 +701,7 @@ canonical_dentry(struct inode *ip) > { > struct vcache *vcp = VTOAFS(ip); > struct dentry *first = NULL, *ret = NULL, *cur; >-#if defined(D_ALIAS_IS_HLIST) >+#if defined(D_ALIAS_IS_HLIST) && !defined(HLIST_ITERATOR_NO_NODE) > struct hlist_node *p; > #endif > >@@ -724,7 +724,11 @@ canonical_dentry(struct inode *ip) > # endif > > #if defined(D_ALIAS_IS_HLIST) >+# if defined(HLIST_ITERATOR_NO_NODE) >+ hlist_for_each_entry(cur, &ip->i_dentry, d_alias) { >+# else > hlist_for_each_entry(cur, p, &ip->i_dentry, d_alias) { >+# endif > #else > list_for_each_entry_reverse(cur, &ip->i_dentry, d_alias) { > #endif >diff --git a/src/cf/linux-test4.m4 b/src/cf/linux-test4.m4 >index fc0149f..7c0a181 100644 >--- a/src/cf/linux-test4.m4 >+++ b/src/cf/linux-test4.m4 >@@ -714,6 +714,21 @@ AC_DEFUN([LINUX_D_ALIAS_IS_HLIST], [ > ]) > > >+AC_DEFUN([LINUX_HLIST_ITERATOR_NO_NODE], [ >+ AC_CHECK_LINUX_BUILD([whether hlist iterators don't need a node parameter], >+ [ac_cv_linux_hlist_takes_no_node], >+ [#include <linux/list.h> >+ #include <linux/fs.h>], >+ [struct dentry *d = NULL, *cur; >+ struct inode *ip; >+ hlist_for_each_entry(cur, &ip->i_dentry, d_alias) { } >+ ], >+ [HLIST_ITERATOR_NO_NODE], >+ [define if hlist iterators don't need a node parameter], >+ []) >+]) >+ >+ > AC_DEFUN([LINUX_IOP_I_CREATE_TAKES_BOOL], [ > AC_CHECK_LINUX_BUILD([whether inode_operations.create takes a bool], > [ac_cv_linux_func_i_create_takes_bool], >-- >1.7.2.5 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 469992
:
348426
| 352252