diff options
author | Jeff Layton <jlayton@primarydata.com> | 2014-09-12 16:40:20 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2014-09-17 16:33:11 -0400 |
commit | f7790029655f79cdcee4fa7c7884e0c2795ebebe (patch) | |
tree | 9181503273f1355a506a7658ec0115c20c2047d0 /fs/lockd/svc.c | |
parent | f0c63124a6165792f6e37e4b5983792d009e1ce8 (diff) | |
download | linux-next-f7790029655f79cdcee4fa7c7884e0c2795ebebe.tar.gz |
lockd: move lockd's grace period handling into its own module
Currently, all of the grace period handling is part of lockd. Eventually
though we'd like to be able to build v4-only servers, at which point
we'll need to put all of this elsewhere.
Move the code itself into fs/nfs_common and have it build a grace.ko
module. Then, rejigger the Kconfig options so that both nfsd and lockd
enable it automatically.
Signed-off-by: Jeff Layton <jlayton@primarydata.com>
Diffstat (limited to 'fs/lockd/svc.c')
-rw-r--r-- | fs/lockd/svc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/lockd/svc.c b/fs/lockd/svc.c index 09857b48d0c3..266b67972305 100644 --- a/fs/lockd/svc.c +++ b/fs/lockd/svc.c @@ -586,7 +586,7 @@ static int lockd_init_net(struct net *net) struct lockd_net *ln = net_generic(net, lockd_net_id); INIT_DELAYED_WORK(&ln->grace_period_end, grace_ender); - INIT_LIST_HEAD(&ln->grace_list); + INIT_LIST_HEAD(&ln->lockd_manager.list); spin_lock_init(&ln->nsm_clnt_lock); return 0; } |