git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9eccca0
)
NFSv4.1: don't export static symbol
author
Julia Lawall
<Julia.Lawall@lip6.fr>
Wed, 11 Mar 2015 16:56:23 +0000
(17:56 +0100)
committer
Trond Myklebust
<trond.myklebust@primarydata.com>
Thu, 12 Mar 2015 15:53:11 +0000
(11:53 -0400)
The semantic patch that fixes this problem is as follows:
(http://coccinelle.lip6.fr/)
// <smpl>
@r@
type T;
identifier f;
@@
static T f (...) { ... }
@@
identifier r.f;
declarer name EXPORT_SYMBOL_GPL;
@@
-EXPORT_SYMBOL_GPL(f);
// </smpl>
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/pnfs.c
patch
|
blob
|
history
diff --cc
fs/nfs/pnfs.c
Simple merge