[PATCH 17/36] Add the checkpoint operation for ntfs directories.

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


Signed-off-by: Matt Helsley <matthltc at us.ibm.com>
Cc: Anton Altaparmakov <aia21 at cantab.net>
Cc: linux-ntfs-dev at lists.sourceforge.net
Cc: linux-fsdevel at vger.kernel.org
---
 fs/ntfs/dir.c  |    1 +
 fs/ntfs/file.c |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/fs/ntfs/dir.c b/fs/ntfs/dir.c
index 5a9e344..4fe3759 100644
--- a/fs/ntfs/dir.c
+++ b/fs/ntfs/dir.c
@@ -1572,4 +1572,5 @@ const struct file_operations ntfs_dir_ops = {
 	/*.ioctl	= ,*/			/* Perform function on the
 						   mounted filesystem. */
 	.open		= ntfs_dir_open,	/* Open directory. */
+	.checkpoint	= generic_file_checkpoint,
 };
diff --git a/fs/ntfs/file.c b/fs/ntfs/file.c
index 3140a44..d63336e 100644
--- a/fs/ntfs/file.c
+++ b/fs/ntfs/file.c
@@ -2282,6 +2282,7 @@ const struct file_operations ntfs_file_ops = {
 						    on the ntfs partition.  We
 						    do not need to care about
 						    the data source. */
+	.checkpoint	= generic_file_checkpoint,
 };
 
 const struct inode_operations ntfs_file_inode_ops = {
-- 
1.5.6.3




More information about the Containers mailing list