[RFC][PATCH 22/36] squashfs: Add checkpoint file operations

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


Add the checkpoint operation for squashfs directories.


Signed-off-by: Matt Helsley <matthltc at us.ibm.com>
Cc: Phillip Lougher <phillip at lougher.demon.co.uk>
Cc: linux-fsdevel at vger.kernel.org
---
 fs/squashfs/dir.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/fs/squashfs/dir.c b/fs/squashfs/dir.c
index 566b0ea..b0c5336 100644
--- a/fs/squashfs/dir.c
+++ b/fs/squashfs/dir.c
@@ -231,5 +231,6 @@ failed_read:
 
 const struct file_operations squashfs_dir_ops = {
 	.read = generic_read_dir,
-	.readdir = squashfs_readdir
+	.readdir = squashfs_readdir,
+	.checkpoint = generic_file_checkpoint,
 };
-- 
1.5.6.3




More information about the Containers mailing list