[Devel] [RFC][PATCH 26/36] xfs: Add checkpoint file operations
Matt Helsley
matthltc at us.ibm.com
Mon May 4 13:27:50 PDT 2009
Add the checkpoint operation for xfs files and directories.
Signed-off-by: Matt Helsley <matthltc at us.ibm.com>
Cc: xfs-masters at oss.sgi.com
Cc: xfs at oss.sgi.com
Cc: linux-fsdevel at vger.kernel.org
---
fs/xfs/linux-2.6/xfs_file.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/fs/xfs/linux-2.6/xfs_file.c b/fs/xfs/linux-2.6/xfs_file.c
index f4e2554..8e1074b 100644
--- a/fs/xfs/linux-2.6/xfs_file.c
+++ b/fs/xfs/linux-2.6/xfs_file.c
@@ -258,6 +258,7 @@ const struct file_operations xfs_file_operations = {
#ifdef HAVE_FOP_OPEN_EXEC
.open_exec = xfs_file_open_exec,
#endif
+ .checkpoint = generic_file_checkpoint,
};
const struct file_operations xfs_dir_file_operations = {
@@ -270,6 +271,7 @@ const struct file_operations xfs_dir_file_operations = {
.compat_ioctl = xfs_file_compat_ioctl,
#endif
.fsync = xfs_file_fsync,
+ .checkpoint = generic_file_checkpoint,
};
static struct vm_operations_struct xfs_file_vm_ops = {
--
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