[Devel] [PATCH 16/36] Add the checkpoint operation for regular nfs files and directories. Skip the various /proc files for now.
Matt Helsley
matthltc at us.ibm.com
Mon Jul 13 06:58:30 PDT 2009
Signed-off-by: Matt Helsley <matthltc at us.ibm.com>
Cc: Trond Myklebust <Trond.Myklebust at netapp.com>
Cc: linux-nfs at vger.kernel.org
Cc: linux-fsdevel at vger.kernel.org
---
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
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
More information about the Devel
mailing list