lockd: move lockd's grace period handling into its own module
authorJeff Layton <jlayton@primarydata.com>
Fri, 12 Sep 2014 20:40:20 +0000 (16:40 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Wed, 17 Sep 2014 20:33:11 +0000 (16:33 -0400)
commitf7790029655f79cdcee4fa7c7884e0c2795ebebe
tree9181503273f1355a506a7658ec0115c20c2047d0
parentf0c63124a6165792f6e37e4b5983792d009e1ce8
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>
fs/Kconfig
fs/lockd/Makefile
fs/lockd/netns.h
fs/lockd/svc.c
fs/nfs_common/Makefile
fs/nfs_common/grace.c [moved from fs/lockd/grace.c with 50% similarity]
fs/nfsd/Kconfig
include/linux/proc_fs.h