[Devel] [PATCH 11/36] Add the checkpoint operation for hpfs files and directories.

Matt Helsley matthltc at us.ibm.com
Mon Jul 13 06:58:25 PDT 2009


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

diff --git a/fs/hpfs/dir.c b/fs/hpfs/dir.c
index 6916c41..e88bde6 100644
--- a/fs/hpfs/dir.c
+++ b/fs/hpfs/dir.c
@@ -321,4 +321,5 @@ const struct file_operations hpfs_dir_ops =
 	.readdir	= hpfs_readdir,
 	.release	= hpfs_dir_release,
 	.fsync		= hpfs_file_fsync,
+	.checkpoint	= generic_file_checkpoint,
 };
diff --git a/fs/hpfs/file.c b/fs/hpfs/file.c
index 64ab522..a24242e 100644
--- a/fs/hpfs/file.c
+++ b/fs/hpfs/file.c
@@ -138,6 +138,7 @@ const struct file_operations hpfs_file_ops =
 	.release	= hpfs_file_release,
 	.fsync		= hpfs_file_fsync,
 	.splice_read	= generic_file_splice_read,
+	.checkpoint	= generic_file_checkpoint,
 };
 
 const struct inode_operations hpfs_file_iops =
-- 
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