[Devel] [PATCH 28/36] Add the checkpoint operation for generic, read-only files. At present, some/all files of the following filesystems use this generic definition:
Matt Helsley
matthltc at us.ibm.com
Mon Jul 13 06:58:42 PDT 2009
freevxfs, romfs, efs, cramfs, isofs, squashfs, befs
This generic filesystem operation definition includes a seek operation
and is thus restartable given the generic checkpoint operation.
Signed-off-by: Matt Helsley <matthltc at us.ibm.com>
---
fs/read_write.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/fs/read_write.c b/fs/read_write.c
index d331975..d314234 100644
--- a/fs/read_write.c
+++ b/fs/read_write.c
@@ -27,6 +27,7 @@ const struct file_operations generic_ro_fops = {
.aio_read = generic_file_aio_read,
.mmap = generic_file_readonly_mmap,
.splice_read = generic_file_splice_read,
+ .checkpoint = generic_file_checkpoint,
};
EXPORT_SYMBOL(generic_ro_fops);
--
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