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>
Showing
- fs/Kconfig 5 additions, 1 deletionfs/Kconfig
- fs/lockd/Makefile 1 addition, 1 deletionfs/lockd/Makefile
- fs/lockd/netns.h 0 additions, 1 deletionfs/lockd/netns.h
- fs/lockd/svc.c 1 addition, 1 deletionfs/lockd/svc.c
- fs/nfs_common/Makefile 2 additions, 1 deletionfs/nfs_common/Makefile
- fs/nfs_common/grace.c 58 additions, 10 deletionsfs/nfs_common/grace.c
- fs/nfsd/Kconfig 1 addition, 0 deletionsfs/nfsd/Kconfig
- include/linux/proc_fs.h 2 additions, 0 deletionsinclude/linux/proc_fs.h
Loading
Please register or sign in to comment