diff options
author | Jeff Layton <jlayton@primarydata.com> | 2014-09-12 22:40:20 +0200 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2014-09-17 22:33:11 +0200 |
commit | f7790029655f79cdcee4fa7c7884e0c2795ebebe (patch) | |
tree | 9181503273f1355a506a7658ec0115c20c2047d0 /fs/nfs_common/Makefile | |
parent | nfsd: update mtime on truncate (diff) | |
download | linux-f7790029655f79cdcee4fa7c7884e0c2795ebebe.tar.xz linux-f7790029655f79cdcee4fa7c7884e0c2795ebebe.zip |
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/nfs_common/Makefile')
-rw-r--r-- | fs/nfs_common/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/nfs_common/Makefile b/fs/nfs_common/Makefile index f689ed82af3a..d153ca3ea577 100644 --- a/fs/nfs_common/Makefile +++ b/fs/nfs_common/Makefile @@ -3,5 +3,6 @@ # obj-$(CONFIG_NFS_ACL_SUPPORT) += nfs_acl.o - nfs_acl-objs := nfsacl.o + +obj-$(CONFIG_GRACE_PERIOD) += grace.o |