Add the checkpoint operation for regular nfs files and directories. Skip the various /proc files for now.
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 370b190..d1e02c5 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 5a97bcf..b48da8d 100644 --- a/fs/nfs/file.c +++ b/fs/nfs/file.c @@ -75,6 +75,7 @@ const struct file_operations nfs_file_operations = { .splice_read = nfs_file_splice_read, .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
