commit | 5b833825fd0012aec00f8fa5769d5400c18d59d8 | [log] [tgz] |
---|---|---|
author | Julia Lawall <Julia.Lawall@lip6.fr> | Wed Mar 11 17:56:23 2015 +0100 |
committer | Trond Myklebust <trond.myklebust@primarydata.com> | Thu Mar 12 11:53:11 2015 -0400 |
tree | be0970347656d41075f3a6ba6a6b2d44bfe94583 | |
parent | 9eccca0843205f87c00404b663188b88eb248051 [diff] |
NFSv4.1: don't export static symbol 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>