git.openpandora.org
/
pandora-kernel.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
NFS: Create an init_nfs_v4() function
[pandora-kernel.git]
/
fs
/
nfs
/
nfs4super.c
1
/*
2
* Copyright (c) 2012 Bryan Schumaker <bjschuma@netapp.com>
3
*/
4
#include <linux/init.h>
5
#include <linux/nfs_idmap.h>
6
7
int __init init_nfs_v4(void)
8
{
9
int err;
10
11
err = nfs_idmap_init();
12
if (err)
13
goto out;
14
15
return 0;
16
out:
17
return err;
18
}
19
20
void __exit exit_nfs_v4(void)
21
{
22
nfs_idmap_quit();
23
}