[RFC][PATCH 01/36] affs: Add checkpoint file operations

Matt Helsley matthltc at us.ibm.com
Mon May 4 13:27:50 PDT 2009


Enable checkpoint of files and directories on affs.

Signed-off-by: Matt Helsley <matthltc at us.ibm.com>
Cc: linux-fsdevel at vger.kernel.org
---
 fs/affs/dir.c  |    1 +
 fs/affs/file.c |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/fs/affs/dir.c b/fs/affs/dir.c
index 7b36904..c5110a1 100644
--- a/fs/affs/dir.c
+++ b/fs/affs/dir.c
@@ -22,6 +22,7 @@ const struct file_operations affs_dir_operations = {
 	.llseek		= generic_file_llseek,
 	.readdir	= affs_readdir,
 	.fsync		= file_fsync,
+	.checkpoint	= generic_file_checkpoint,
 };
 
 /*
diff --git a/fs/affs/file.c b/fs/affs/file.c
index 9246cb4..3a6f8ea 100644
--- a/fs/affs/file.c
+++ b/fs/affs/file.c
@@ -36,6 +36,7 @@ const struct file_operations affs_file_operations = {
 	.release	= affs_file_release,
 	.fsync		= file_fsync,
 	.splice_read	= generic_file_splice_read,
+	.checkpoint	= generic_file_checkpoint,
 };
 
 const struct inode_operations affs_file_inode_operations = {
-- 
1.5.6.3




More information about the Containers mailing list