[PATCH 15/36] Add the checkpoint operation for jfs files and directories.

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


Signed-off-by: Matt Helsley <matthltc at us.ibm.com>
Cc: Dave Kleikamp <shaggy at austin.ibm.com>
Cc: jfs-discussion at lists.sourceforge.net
Cc: linux-fsdevel at vger.kernel.org
---
 fs/jfs/file.c  |    1 +
 fs/jfs/namei.c |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/fs/jfs/file.c b/fs/jfs/file.c
index 7f6063a..90ab090 100644
--- a/fs/jfs/file.c
+++ b/fs/jfs/file.c
@@ -116,4 +116,5 @@ const struct file_operations jfs_file_operations = {
 #ifdef CONFIG_COMPAT
 	.compat_ioctl	= jfs_compat_ioctl,
 #endif
+	.checkpoint	= generic_file_checkpoint,
 };
diff --git a/fs/jfs/namei.c b/fs/jfs/namei.c
index 514ee2e..5486db9 100644
--- a/fs/jfs/namei.c
+++ b/fs/jfs/namei.c
@@ -1556,6 +1556,7 @@ const struct file_operations jfs_dir_operations = {
 	.compat_ioctl	= jfs_compat_ioctl,
 #endif
 	.llseek		= generic_file_llseek,
+	.checkpoint	= generic_file_checkpoint,
 };
 
 static int jfs_ci_hash(struct dentry *dir, struct qstr *this)
-- 
1.5.6.3




More information about the Containers mailing list