Signed-off-by: Matt Helsley <[email protected]>
Cc: Trond Myklebust <[email protected]>
Cc: [email protected]
Cc: [email protected]
---
 fs/nfs/dir.c  |    1 +
 fs/nfs/file.c |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/fs/nfs/dir.c b/fs/nfs/dir.c
index 89f98e9..ae818d5 100644
--- a/fs/nfs/dir.c
+++ b/fs/nfs/dir.c
@@ -64,6 +64,7 @@ const struct file_operations nfs_dir_operations = {
        .open           = nfs_opendir,
        .release        = nfs_release,
        .fsync          = nfs_fsync_dir,
+       .checkpoint     = generic_file_checkpoint,
 };
 
 const struct inode_operations nfs_dir_inode_operations = {
diff --git a/fs/nfs/file.c b/fs/nfs/file.c
index 0055b81..0952aac 100644
--- a/fs/nfs/file.c
+++ b/fs/nfs/file.c
@@ -79,6 +79,7 @@ const struct file_operations nfs_file_operations = {
        .splice_write   = nfs_file_splice_write,
        .check_flags    = nfs_check_flags,
        .setlease       = nfs_setlease,
+       .checkpoint     = generic_file_checkpoint,
 };
 
 const struct inode_operations nfs_file_inode_operations = {
-- 
1.5.6.3


_______________________________________________
Containers mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/containers

_______________________________________________
Devel mailing list
[email protected]
https://openvz.org/mailman/listinfo/devel

Reply via email to