aboutsummaryrefslogtreecommitdiff
path: root/fs/nfs/super.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2015-03-11 14:37:25 +0100
committerTrond Myklebust <trond.myklebust@primarydata.com>2015-03-12 11:53:24 -0400
commitdf137bc125b6155e54e6725faf0462b791a34c31 (patch)
tree2648acfa3f29aef062400a0d8137ae0893ba9fa4 /fs/nfs/super.c
parent5b833825fd0012aec00f8fa5769d5400c18d59d8 (diff)
downloadleg-kernel-df137bc125b6155e54e6725faf0462b791a34c31.tar.gz
nfs: do not export discarded symbols
The function nfs4_pnfs_v3_ds_connect_unload is exported so it can be used by other modules, but is also marked '__exit' and will be discarded when built into the kernel, as pointed out by this linker error: `nfs4_pnfs_v3_ds_connect_unload' referenced in section `___ksymtab_gpl+nfs4_pnfs_v3_ds_connect_unload' of fs/built-in.o: defined in discarded section `.exit.text' of fs/built-in.o This removes the __exit annotation to make it safe to call this function. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Fixes: 5f01d9539496 ("nfs41: create NFSv3 DS connection if specified") Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/nfs/super.c')
0 files changed, 0 insertions, 0 deletions