* [RFC][PATCH 16/36] nfs: Add checkpoint file operations
[not found] ` <63ff4e88102e10e86bffefd5e4445ab433ed51c0.1241462097.git.matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
@ 2009-05-04 20:27 ` Matt Helsley
2009-05-04 20:27 ` [RFC][PATCH 08/36] freevxfs: " Matt Helsley
` (34 subsequent siblings)
35 siblings, 0 replies; 41+ messages in thread
From: Matt Helsley @ 2009-05-04 20:27 UTC (permalink / raw)
To: Oren Laadan; +Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA
Add the checkpoint operation for regular nfs files and directories.
Skip the various /proc files for now.
Signed-off-by: Matt Helsley <matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
Cc: Trond Myklebust <Trond.Myklebust-HgOvQuBEEgTQT0dZR+AlfA@public.gmane.org>
Cc: linux-nfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Cc: linux-fsdevel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
---
fs/nfs/dir.c | 1 +
fs/nfs/file.c | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/fs/nfs/dir.c b/fs/nfs/dir.c
index 370b190..d1e02c5 100644
--- a/fs/nfs/dir.c
+++ b/fs/nfs/dir.c
@@ -64,6 +64,7 @@ const struct file_operations nfs_dir_operations = {
.open = nfs_opendir,
.release = nfs_release,
.fsync = nfs_fsync_dir,
+ .checkpoint = generic_file_checkpoint,
};
const struct inode_operations nfs_dir_inode_operations = {
diff --git a/fs/nfs/file.c b/fs/nfs/file.c
index 5a97bcf..b48da8d 100644
--- a/fs/nfs/file.c
+++ b/fs/nfs/file.c
@@ -75,6 +75,7 @@ const struct file_operations nfs_file_operations = {
.splice_read = nfs_file_splice_read,
.check_flags = nfs_check_flags,
.setlease = nfs_setlease,
+ .checkpoint = generic_file_checkpoint,
};
const struct inode_operations nfs_file_inode_operations = {
--
1.5.6.3
^ permalink raw reply related [flat|nested] 41+ messages in thread* [RFC][PATCH 08/36] freevxfs: Add checkpoint file operations
[not found] ` <63ff4e88102e10e86bffefd5e4445ab433ed51c0.1241462097.git.matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2009-05-04 20:27 ` [RFC][PATCH 16/36] nfs: " Matt Helsley
@ 2009-05-04 20:27 ` Matt Helsley
2009-05-04 20:27 ` [RFC][PATCH 09/36] hfs: " Matt Helsley
` (33 subsequent siblings)
35 siblings, 0 replies; 41+ messages in thread
From: Matt Helsley @ 2009-05-04 20:27 UTC (permalink / raw)
To: Oren Laadan; +Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA
Add the checkpoint operation for freevxfs directories.
Signed-off-by: Matt Helsley <matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
Cc: linux-fsdevel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
---
fs/freevxfs/vxfs_lookup.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/fs/freevxfs/vxfs_lookup.c b/fs/freevxfs/vxfs_lookup.c
index aee049c..3a09132 100644
--- a/fs/freevxfs/vxfs_lookup.c
+++ b/fs/freevxfs/vxfs_lookup.c
@@ -58,6 +58,7 @@ const struct inode_operations vxfs_dir_inode_ops = {
const struct file_operations vxfs_dir_operations = {
.readdir = vxfs_readdir,
+ .checkpoint = generic_file_checkpoint,
};
--
1.5.6.3
^ permalink raw reply related [flat|nested] 41+ messages in thread* [RFC][PATCH 09/36] hfs: Add checkpoint file operations
[not found] ` <63ff4e88102e10e86bffefd5e4445ab433ed51c0.1241462097.git.matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2009-05-04 20:27 ` [RFC][PATCH 16/36] nfs: " Matt Helsley
2009-05-04 20:27 ` [RFC][PATCH 08/36] freevxfs: " Matt Helsley
@ 2009-05-04 20:27 ` Matt Helsley
2009-05-04 20:27 ` [RFC][PATCH 22/36] squashfs: " Matt Helsley
` (32 subsequent siblings)
35 siblings, 0 replies; 41+ messages in thread
From: Matt Helsley @ 2009-05-04 20:27 UTC (permalink / raw)
To: Oren Laadan; +Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA
Add the checkpoint operation for hfs files and directories.
Signed-off-by: Matt Helsley <matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
Cc: linux-fsdevel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
---
fs/hfs/dir.c | 1 +
fs/hfs/inode.c | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/fs/hfs/dir.c b/fs/hfs/dir.c
index 7c69b98..8d90a24 100644
--- a/fs/hfs/dir.c
+++ b/fs/hfs/dir.c
@@ -318,6 +318,7 @@ const struct file_operations hfs_dir_operations = {
.readdir = hfs_readdir,
.llseek = generic_file_llseek,
.release = hfs_dir_release,
+ .checkpoint = generic_file_checkpoint,
};
const struct inode_operations hfs_dir_inode_operations = {
diff --git a/fs/hfs/inode.c b/fs/hfs/inode.c
index a1cbff2..bf8950f 100644
--- a/fs/hfs/inode.c
+++ b/fs/hfs/inode.c
@@ -607,6 +607,7 @@ static const struct file_operations hfs_file_operations = {
.fsync = file_fsync,
.open = hfs_file_open,
.release = hfs_file_release,
+ .checkpoint = generic_file_checkpoint,
};
static const struct inode_operations hfs_file_inode_operations = {
--
1.5.6.3
^ permalink raw reply related [flat|nested] 41+ messages in thread* [RFC][PATCH 22/36] squashfs: Add checkpoint file operations
[not found] ` <63ff4e88102e10e86bffefd5e4445ab433ed51c0.1241462097.git.matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
` (2 preceding siblings ...)
2009-05-04 20:27 ` [RFC][PATCH 09/36] hfs: " Matt Helsley
@ 2009-05-04 20:27 ` Matt Helsley
2009-05-04 20:27 ` [RFC][PATCH 27/36] efs: " Matt Helsley
` (31 subsequent siblings)
35 siblings, 0 replies; 41+ messages in thread
From: Matt Helsley @ 2009-05-04 20:27 UTC (permalink / raw)
To: Oren Laadan; +Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA
Add the checkpoint operation for squashfs directories.
Signed-off-by: Matt Helsley <matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
Cc: Phillip Lougher <phillip-cnXvMjJKhjYG2Il/BtU0GPXRex20P6io@public.gmane.org>
Cc: linux-fsdevel-u79uwXL29TY76Z2rM5mHXA@public.gmane.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
^ permalink raw reply related [flat|nested] 41+ messages in thread* [RFC][PATCH 27/36] efs: Add checkpoint file operations
[not found] ` <63ff4e88102e10e86bffefd5e4445ab433ed51c0.1241462097.git.matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
` (3 preceding siblings ...)
2009-05-04 20:27 ` [RFC][PATCH 22/36] squashfs: " Matt Helsley
@ 2009-05-04 20:27 ` Matt Helsley
2009-05-04 20:27 ` [RFC][PATCH 17/36] ntfs: " Matt Helsley
` (30 subsequent siblings)
35 siblings, 0 replies; 41+ messages in thread
From: Matt Helsley @ 2009-05-04 20:27 UTC (permalink / raw)
To: Oren Laadan; +Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA
Add checkpoint operation for efs directories.
Signed-off-by: Matt Helsley <matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
---
fs/efs/dir.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/fs/efs/dir.c b/fs/efs/dir.c
index 49308a2..3322f56 100644
--- a/fs/efs/dir.c
+++ b/fs/efs/dir.c
@@ -13,6 +13,7 @@ static int efs_readdir(struct file *, void *, filldir_t);
const struct file_operations efs_dir_operations = {
.read = generic_read_dir,
.readdir = efs_readdir,
+ .checkpoint = generic_file_checkpoint,
};
const struct inode_operations efs_dir_inode_operations = {
--
1.5.6.3
^ permalink raw reply related [flat|nested] 41+ messages in thread* [RFC][PATCH 17/36] ntfs: Add checkpoint file operations
[not found] ` <63ff4e88102e10e86bffefd5e4445ab433ed51c0.1241462097.git.matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
` (4 preceding siblings ...)
2009-05-04 20:27 ` [RFC][PATCH 27/36] efs: " Matt Helsley
@ 2009-05-04 20:27 ` Matt Helsley
2009-05-04 20:27 ` [RFC][PATCH 13/36] isofs: " Matt Helsley
` (29 subsequent siblings)
35 siblings, 0 replies; 41+ messages in thread
From: Matt Helsley @ 2009-05-04 20:27 UTC (permalink / raw)
To: Oren Laadan; +Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA
Add the checkpoint operation for ntfs directories.
Signed-off-by: Matt Helsley <matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
Cc: Anton Altaparmakov <aia21-5LkwijKnu/2sTnJN9+BGXg@public.gmane.org>
Cc: linux-ntfs-dev-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Cc: linux-fsdevel-u79uwXL29TY76Z2rM5mHXA@public.gmane.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
^ permalink raw reply related [flat|nested] 41+ messages in thread* [RFC][PATCH 13/36] isofs: Add checkpoint file operations
[not found] ` <63ff4e88102e10e86bffefd5e4445ab433ed51c0.1241462097.git.matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
` (5 preceding siblings ...)
2009-05-04 20:27 ` [RFC][PATCH 17/36] ntfs: " Matt Helsley
@ 2009-05-04 20:27 ` Matt Helsley
2009-05-04 20:27 ` [RFC][PATCH 04/36] btrfs: " Matt Helsley
` (28 subsequent siblings)
35 siblings, 0 replies; 41+ messages in thread
From: Matt Helsley @ 2009-05-04 20:27 UTC (permalink / raw)
To: Oren Laadan; +Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA
Add the checkpoint operation for iso directories.
Signed-off-by: Matt Helsley <matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
Cc: linux-fsdevel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
---
fs/isofs/dir.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/fs/isofs/dir.c b/fs/isofs/dir.c
index 2f0dc5a..a9fa99e 100644
--- a/fs/isofs/dir.c
+++ b/fs/isofs/dir.c
@@ -274,6 +274,7 @@ const struct file_operations isofs_dir_operations =
{
.read = generic_read_dir,
.readdir = isofs_readdir,
+ .checkpoint = generic_file_checkpoint,
};
/*
--
1.5.6.3
^ permalink raw reply related [flat|nested] 41+ messages in thread* [RFC][PATCH 04/36] btrfs: Add checkpoint file operations
[not found] ` <63ff4e88102e10e86bffefd5e4445ab433ed51c0.1241462097.git.matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
` (6 preceding siblings ...)
2009-05-04 20:27 ` [RFC][PATCH 13/36] isofs: " Matt Helsley
@ 2009-05-04 20:27 ` Matt Helsley
[not found] ` <d4c7782efa9f33324f65188dfb480d4ba1af7a27.1241462097.git.matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2009-05-04 20:27 ` [RFC][PATCH 18/36] openpromfs: " Matt Helsley
` (27 subsequent siblings)
35 siblings, 1 reply; 41+ messages in thread
From: Matt Helsley @ 2009-05-04 20:27 UTC (permalink / raw)
To: Oren Laadan; +Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA
Add the checkpoint operation for btrfs files and directories.
Signed-off-by: Matt Helsley <matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
Cc: linux-fsdevel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
---
fs/btrfs/file.c | 1 +
fs/btrfs/inode.c | 1 +
fs/btrfs/super.c | 1 +
3 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/fs/btrfs/file.c b/fs/btrfs/file.c
index 482f8db..23d5c72 100644
--- a/fs/btrfs/file.c
+++ b/fs/btrfs/file.c
@@ -1334,4 +1334,5 @@ struct file_operations btrfs_file_operations = {
#ifdef CONFIG_COMPAT
.compat_ioctl = btrfs_ioctl,
#endif
+ .checkpoint = generic_file_checkpoint,
};
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c
index 65219f6..583d57e 100644
--- a/fs/btrfs/inode.c
+++ b/fs/btrfs/inode.c
@@ -5158,6 +5158,7 @@ static struct file_operations btrfs_dir_file_operations = {
#endif
.release = btrfs_release_file,
.fsync = btrfs_sync_file,
+ .checkpoint = generic_file_checkpoint,
};
static struct extent_io_ops btrfs_extent_io_ops = {
diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c
index a7acfe6..f16be9d 100644
--- a/fs/btrfs/super.c
+++ b/fs/btrfs/super.c
@@ -686,6 +686,7 @@ static const struct file_operations btrfs_ctl_fops = {
.unlocked_ioctl = btrfs_control_ioctl,
.compat_ioctl = btrfs_control_ioctl,
.owner = THIS_MODULE,
+ .checkpoint = generic_file_checkpoint,
};
static struct miscdevice btrfs_misc = {
--
1.5.6.3
^ permalink raw reply related [flat|nested] 41+ messages in thread* [RFC][PATCH 18/36] openpromfs: Add checkpoint file operations
[not found] ` <63ff4e88102e10e86bffefd5e4445ab433ed51c0.1241462097.git.matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
` (7 preceding siblings ...)
2009-05-04 20:27 ` [RFC][PATCH 04/36] btrfs: " Matt Helsley
@ 2009-05-04 20:27 ` Matt Helsley
2009-05-04 20:27 ` [RFC][PATCH 14/36] jffs2: " Matt Helsley
` (26 subsequent siblings)
35 siblings, 0 replies; 41+ messages in thread
From: Matt Helsley @ 2009-05-04 20:27 UTC (permalink / raw)
To: Oren Laadan; +Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA
Add the checkpoint operation for openromfs directories.
Explicitly skip the properties for now.
Signed-off-by: Matt Helsley <matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
Cc: linux-fsdevel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
---
fs/openpromfs/inode.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/fs/openpromfs/inode.c b/fs/openpromfs/inode.c
index ffcd04f..d1f0677 100644
--- a/fs/openpromfs/inode.c
+++ b/fs/openpromfs/inode.c
@@ -160,6 +160,7 @@ static const struct file_operations openpromfs_prop_ops = {
.read = seq_read,
.llseek = seq_lseek,
.release = seq_release,
+ .checkpoint = NULL,
};
static int openpromfs_readdir(struct file *, void *, filldir_t);
@@ -168,6 +169,7 @@ static const struct file_operations openprom_operations = {
.read = generic_read_dir,
.readdir = openpromfs_readdir,
.llseek = generic_file_llseek,
+ .checkpoint = generic_file_checkpoint,
};
static struct dentry *openpromfs_lookup(struct inode *, struct dentry *, struct nameidata *);
--
1.5.6.3
^ permalink raw reply related [flat|nested] 41+ messages in thread* [RFC][PATCH 14/36] jffs2: Add checkpoint file operations
[not found] ` <63ff4e88102e10e86bffefd5e4445ab433ed51c0.1241462097.git.matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
` (8 preceding siblings ...)
2009-05-04 20:27 ` [RFC][PATCH 18/36] openpromfs: " Matt Helsley
@ 2009-05-04 20:27 ` Matt Helsley
2009-05-04 20:27 ` [RFC][PATCH 20/36] reiserfs: " Matt Helsley
` (25 subsequent siblings)
35 siblings, 0 replies; 41+ messages in thread
From: Matt Helsley @ 2009-05-04 20:27 UTC (permalink / raw)
To: Oren Laadan; +Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA
Add the checkpoint operation for jffs2 files and directories.
Signed-off-by: Matt Helsley <matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
Cc: linux-fsdevel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
---
fs/jffs2/dir.c | 1 +
fs/jffs2/file.c | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/fs/jffs2/dir.c b/fs/jffs2/dir.c
index 6f60cc9..c2b6487 100644
--- a/fs/jffs2/dir.c
+++ b/fs/jffs2/dir.c
@@ -41,6 +41,7 @@ const struct file_operations jffs2_dir_operations =
.unlocked_ioctl=jffs2_ioctl,
.fsync = jffs2_fsync,
.llseek = generic_file_llseek,
+ .checkpoint = generic_file_checkpoint,
};
diff --git a/fs/jffs2/file.c b/fs/jffs2/file.c
index 5edc2bf..6bc2bc6 100644
--- a/fs/jffs2/file.c
+++ b/fs/jffs2/file.c
@@ -50,6 +50,7 @@ const struct file_operations jffs2_file_operations =
.mmap = generic_file_readonly_mmap,
.fsync = jffs2_fsync,
.splice_read = generic_file_splice_read,
+ .checkpoint = generic_file_checkpoint,
};
/* jffs2_file_inode_operations */
--
1.5.6.3
^ permalink raw reply related [flat|nested] 41+ messages in thread* [RFC][PATCH 20/36] reiserfs: Add checkpoint file operations
[not found] ` <63ff4e88102e10e86bffefd5e4445ab433ed51c0.1241462097.git.matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
` (9 preceding siblings ...)
2009-05-04 20:27 ` [RFC][PATCH 14/36] jffs2: " Matt Helsley
@ 2009-05-04 20:27 ` Matt Helsley
2009-05-04 20:27 ` [RFC][PATCH 21/36] romfs: " Matt Helsley
` (24 subsequent siblings)
35 siblings, 0 replies; 41+ messages in thread
From: Matt Helsley @ 2009-05-04 20:27 UTC (permalink / raw)
To: Oren Laadan; +Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA
Add the checkpoint operation for reiserfs files and directories.
Signed-off-by: Matt Helsley <matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
Cc: reiserfs-devel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Cc: linux-fsdevel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
---
fs/reiserfs/dir.c | 1 +
fs/reiserfs/file.c | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/fs/reiserfs/dir.c b/fs/reiserfs/dir.c
index 67a80d7..8c39774 100644
--- a/fs/reiserfs/dir.c
+++ b/fs/reiserfs/dir.c
@@ -24,6 +24,7 @@ const struct file_operations reiserfs_dir_operations = {
#ifdef CONFIG_COMPAT
.compat_ioctl = reiserfs_compat_ioctl,
#endif
+ .checkpoint = generic_file_checkpoint,
};
static int reiserfs_dir_fsync(struct file *filp, struct dentry *dentry,
diff --git a/fs/reiserfs/file.c b/fs/reiserfs/file.c
index 9f43666..a5dcc02 100644
--- a/fs/reiserfs/file.c
+++ b/fs/reiserfs/file.c
@@ -297,6 +297,7 @@ const struct file_operations reiserfs_file_operations = {
.splice_read = generic_file_splice_read,
.splice_write = generic_file_splice_write,
.llseek = generic_file_llseek,
+ .checkpoint = generic_file_checkpoint,
};
const struct inode_operations reiserfs_file_inode_operations = {
--
1.5.6.3
^ permalink raw reply related [flat|nested] 41+ messages in thread* [RFC][PATCH 21/36] romfs: Add checkpoint file operations
[not found] ` <63ff4e88102e10e86bffefd5e4445ab433ed51c0.1241462097.git.matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
` (10 preceding siblings ...)
2009-05-04 20:27 ` [RFC][PATCH 20/36] reiserfs: " Matt Helsley
@ 2009-05-04 20:27 ` Matt Helsley
2009-05-04 20:27 ` [RFC][PATCH 15/36] jfs: " Matt Helsley
` (23 subsequent siblings)
35 siblings, 0 replies; 41+ messages in thread
From: Matt Helsley @ 2009-05-04 20:27 UTC (permalink / raw)
To: Oren Laadan; +Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA
Add the checkpoint operation for romfs directories.
Signed-off-by: Matt Helsley <matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
Cc: linux-fsdevel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
---
fs/romfs/mmap-nommu.c | 1 +
fs/romfs/super.c | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/fs/romfs/mmap-nommu.c b/fs/romfs/mmap-nommu.c
index f0511e8..03c24d9 100644
--- a/fs/romfs/mmap-nommu.c
+++ b/fs/romfs/mmap-nommu.c
@@ -72,4 +72,5 @@ const struct file_operations romfs_ro_fops = {
.splice_read = generic_file_splice_read,
.mmap = romfs_mmap,
.get_unmapped_area = romfs_get_unmapped_area,
+ .checkpoint = generic_file_checkpoint,
};
diff --git a/fs/romfs/super.c b/fs/romfs/super.c
index 10ca7d9..2cd77c7 100644
--- a/fs/romfs/super.c
+++ b/fs/romfs/super.c
@@ -282,6 +282,7 @@ error:
static const struct file_operations romfs_dir_operations = {
.read = generic_read_dir,
.readdir = romfs_readdir,
+ .checkpoint = generic_file_checkpoint,
};
static struct inode_operations romfs_dir_inode_operations = {
--
1.5.6.3
^ permalink raw reply related [flat|nested] 41+ messages in thread* [RFC][PATCH 15/36] jfs: Add checkpoint file operations
[not found] ` <63ff4e88102e10e86bffefd5e4445ab433ed51c0.1241462097.git.matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
` (11 preceding siblings ...)
2009-05-04 20:27 ` [RFC][PATCH 21/36] romfs: " Matt Helsley
@ 2009-05-04 20:27 ` Matt Helsley
2009-05-04 20:27 ` [RFC][PATCH 06/36] ecryptfs: " Matt Helsley
` (22 subsequent siblings)
35 siblings, 0 replies; 41+ messages in thread
From: Matt Helsley @ 2009-05-04 20:27 UTC (permalink / raw)
To: Oren Laadan; +Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA
Add the checkpoint operation for jfs files and directories.
Signed-off-by: Matt Helsley <matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
Cc: Dave Kleikamp <shaggy-V7BBcbaFuwjMbYB6QlFGEg@public.gmane.org>
Cc: jfs-discussion-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Cc: linux-fsdevel-u79uwXL29TY76Z2rM5mHXA@public.gmane.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
^ permalink raw reply related [flat|nested] 41+ messages in thread* [RFC][PATCH 06/36] ecryptfs: Add checkpoint file operations
[not found] ` <63ff4e88102e10e86bffefd5e4445ab433ed51c0.1241462097.git.matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
` (12 preceding siblings ...)
2009-05-04 20:27 ` [RFC][PATCH 15/36] jfs: " Matt Helsley
@ 2009-05-04 20:27 ` Matt Helsley
2009-05-04 20:27 ` [RFC][PATCH 24/36] ubifs: " Matt Helsley
` (21 subsequent siblings)
35 siblings, 0 replies; 41+ messages in thread
From: Matt Helsley @ 2009-05-04 20:27 UTC (permalink / raw)
To: Oren Laadan; +Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA
Add the checkpoint operation for ecryptfs files and directories.
Signed-off-by: Matt Helsley <matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
Cc: linux-fsdevel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
---
fs/ecryptfs/file.c | 2 ++
fs/ecryptfs/miscdev.c | 1 +
2 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/fs/ecryptfs/file.c b/fs/ecryptfs/file.c
index 9e94405..e6d2523 100644
--- a/fs/ecryptfs/file.c
+++ b/fs/ecryptfs/file.c
@@ -306,6 +306,7 @@ const struct file_operations ecryptfs_dir_fops = {
.fsync = ecryptfs_fsync,
.fasync = ecryptfs_fasync,
.splice_read = generic_file_splice_read,
+ .checkpoint = generic_file_checkpoint,
};
const struct file_operations ecryptfs_main_fops = {
@@ -323,6 +324,7 @@ const struct file_operations ecryptfs_main_fops = {
.fsync = ecryptfs_fsync,
.fasync = ecryptfs_fasync,
.splice_read = generic_file_splice_read,
+ .checkpoint = generic_file_checkpoint,
};
static int
diff --git a/fs/ecryptfs/miscdev.c b/fs/ecryptfs/miscdev.c
index dda3c58..07fbbe8 100644
--- a/fs/ecryptfs/miscdev.c
+++ b/fs/ecryptfs/miscdev.c
@@ -487,6 +487,7 @@ static const struct file_operations ecryptfs_miscdev_fops = {
.read = ecryptfs_miscdev_read,
.write = ecryptfs_miscdev_write,
.release = ecryptfs_miscdev_release,
+ .checkpoint = generic_file_checkpoint,
};
static struct miscdevice ecryptfs_miscdev = {
--
1.5.6.3
^ permalink raw reply related [flat|nested] 41+ messages in thread* [RFC][PATCH 24/36] ubifs: Add checkpoint file operations
[not found] ` <63ff4e88102e10e86bffefd5e4445ab433ed51c0.1241462097.git.matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
` (13 preceding siblings ...)
2009-05-04 20:27 ` [RFC][PATCH 06/36] ecryptfs: " Matt Helsley
@ 2009-05-04 20:27 ` Matt Helsley
2009-05-04 20:27 ` [RFC][PATCH 35/36] nilfs2: " Matt Helsley
` (20 subsequent siblings)
35 siblings, 0 replies; 41+ messages in thread
From: Matt Helsley @ 2009-05-04 20:27 UTC (permalink / raw)
To: Oren Laadan; +Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA
Add the checkpoint operation for ubifs files and directories.
I think the debug files will also work with the generic file
checkpoint helper but it needs a bit more investigation to be
certain.
Signed-off-by: Matt Helsley <matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
Cc: Artem Bityutskiy <dedekind-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>
Cc: Adrian Hunter <ext-adrian.hunter-xNZwKgViW5gAvxtiuMwx3w@public.gmane.org>
Cc: linux-mtd-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org
Cc: linux-fsdevel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
---
fs/ubifs/debug.c | 1 +
fs/ubifs/dir.c | 1 +
fs/ubifs/file.c | 1 +
3 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/fs/ubifs/debug.c b/fs/ubifs/debug.c
index ce2cd83..69a8892 100644
--- a/fs/ubifs/debug.c
+++ b/fs/ubifs/debug.c
@@ -2530,6 +2530,7 @@ static ssize_t write_debugfs_file(struct file *file, const char __user *buf,
static const struct file_operations dfs_fops = {
.open = open_debugfs_file,
.write = write_debugfs_file,
+ .checkpoint = generic_file_checkpoint,
.owner = THIS_MODULE,
};
diff --git a/fs/ubifs/dir.c b/fs/ubifs/dir.c
index f55d523..ab44811 100644
--- a/fs/ubifs/dir.c
+++ b/fs/ubifs/dir.c
@@ -1209,4 +1209,5 @@ const struct file_operations ubifs_dir_operations = {
#ifdef CONFIG_COMPAT
.compat_ioctl = ubifs_compat_ioctl,
#endif
+ .checkpoint = generic_file_checkpoint,
};
diff --git a/fs/ubifs/file.c b/fs/ubifs/file.c
index 6d34dc7..2d94676 100644
--- a/fs/ubifs/file.c
+++ b/fs/ubifs/file.c
@@ -1595,4 +1595,5 @@ const struct file_operations ubifs_file_operations = {
#ifdef CONFIG_COMPAT
.compat_ioctl = ubifs_compat_ioctl,
#endif
+ .checkpoint = generic_file_checkpoint,
};
--
1.5.6.3
^ permalink raw reply related [flat|nested] 41+ messages in thread* [RFC][PATCH 35/36] nilfs2: Add checkpoint file operations
[not found] ` <63ff4e88102e10e86bffefd5e4445ab433ed51c0.1241462097.git.matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
` (14 preceding siblings ...)
2009-05-04 20:27 ` [RFC][PATCH 24/36] ubifs: " Matt Helsley
@ 2009-05-04 20:27 ` Matt Helsley
2009-05-04 20:27 ` [RFC][PATCH 36/36] hostfs: " Matt Helsley
` (19 subsequent siblings)
35 siblings, 0 replies; 41+ messages in thread
From: Matt Helsley @ 2009-05-04 20:27 UTC (permalink / raw)
To: Oren Laadan; +Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA
Add the checkpoint operation to nilfs2 files and directories.
Signed-off-by: Matt Helsley <matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
Cc: KONISHI Ryusuke <konishi.ryusuke-Zyj7fXuS5i5L9jVzuh4AOg@public.gmane.org>
Cc: users-JrjvKiOkagjYtjvyW6yDsg@public.gmane.org
Cc: linux-fsdevel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
---
fs/nilfs2/dir.c | 2 +-
fs/nilfs2/file.c | 1 +
2 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/fs/nilfs2/dir.c b/fs/nilfs2/dir.c
index 54100ac..38fd744 100644
--- a/fs/nilfs2/dir.c
+++ b/fs/nilfs2/dir.c
@@ -707,5 +707,5 @@ struct file_operations nilfs_dir_operations = {
.compat_ioctl = nilfs_ioctl,
#endif /* CONFIG_COMPAT */
.fsync = nilfs_sync_file,
-
+ .checkpoint = generic_file_checkpoint,
};
diff --git a/fs/nilfs2/file.c b/fs/nilfs2/file.c
index 6bd84a0..0f27ab5 100644
--- a/fs/nilfs2/file.c
+++ b/fs/nilfs2/file.c
@@ -136,6 +136,7 @@ static int nilfs_file_mmap(struct file *file, struct vm_area_struct *vma)
*/
struct file_operations nilfs_file_operations = {
.llseek = generic_file_llseek,
+ .checkpoint = generic_file_checkpoint,
.read = do_sync_read,
.write = do_sync_write,
.aio_read = generic_file_aio_read,
--
1.5.6.3
^ permalink raw reply related [flat|nested] 41+ messages in thread* [RFC][PATCH 36/36] hostfs: Add checkpoint file operations
[not found] ` <63ff4e88102e10e86bffefd5e4445ab433ed51c0.1241462097.git.matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
` (15 preceding siblings ...)
2009-05-04 20:27 ` [RFC][PATCH 35/36] nilfs2: " Matt Helsley
@ 2009-05-04 20:27 ` Matt Helsley
2009-05-04 20:27 ` [RFC][PATCH 10/36] hfsplus: " Matt Helsley
` (18 subsequent siblings)
35 siblings, 0 replies; 41+ messages in thread
From: Matt Helsley @ 2009-05-04 20:27 UTC (permalink / raw)
To: Oren Laadan; +Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA
Add checkpoint operations for UML host filesystem files and directories.
Signed-off-by: Matt Helsley <matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
Cc: Jeff Dike <jdike-OPE4K8JWMJJBDgjK7y7TUQ@public.gmane.org>
Cc: user-mode-linux-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
---
fs/hostfs/hostfs_kern.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/fs/hostfs/hostfs_kern.c b/fs/hostfs/hostfs_kern.c
index fe02ad4..8ae55d8 100644
--- a/fs/hostfs/hostfs_kern.c
+++ b/fs/hostfs/hostfs_kern.c
@@ -417,6 +417,7 @@ int hostfs_fsync(struct file *file, struct dentry *dentry, int datasync)
static const struct file_operations hostfs_file_fops = {
.llseek = generic_file_llseek,
+ .checkpoint = generic_file_checkpoint,
.read = do_sync_read,
.splice_read = generic_file_splice_read,
.aio_read = generic_file_aio_read,
@@ -430,6 +431,7 @@ static const struct file_operations hostfs_file_fops = {
static const struct file_operations hostfs_dir_fops = {
.llseek = generic_file_llseek,
+ .checkpoint = generic_file_checkpoint,
.readdir = hostfs_readdir,
.read = generic_read_dir,
};
--
1.5.6.3
^ permalink raw reply related [flat|nested] 41+ messages in thread* [RFC][PATCH 10/36] hfsplus: Add checkpoint file operations
[not found] ` <63ff4e88102e10e86bffefd5e4445ab433ed51c0.1241462097.git.matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
` (16 preceding siblings ...)
2009-05-04 20:27 ` [RFC][PATCH 36/36] hostfs: " Matt Helsley
@ 2009-05-04 20:27 ` Matt Helsley
2009-05-04 20:27 ` [RFC][PATCH 12/36] hppfs: " Matt Helsley
` (17 subsequent siblings)
35 siblings, 0 replies; 41+ messages in thread
From: Matt Helsley @ 2009-05-04 20:27 UTC (permalink / raw)
To: Oren Laadan; +Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA
Add the checkpoint operation for hfsplus files and directories.
Signed-off-by: Matt Helsley <matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
Cc: linux-fsdevel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
---
fs/hfsplus/dir.c | 1 +
fs/hfsplus/inode.c | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/fs/hfsplus/dir.c b/fs/hfsplus/dir.c
index 5f40236..41fbf2d 100644
--- a/fs/hfsplus/dir.c
+++ b/fs/hfsplus/dir.c
@@ -497,4 +497,5 @@ const struct file_operations hfsplus_dir_operations = {
.ioctl = hfsplus_ioctl,
.llseek = generic_file_llseek,
.release = hfsplus_dir_release,
+ .checkpoint = generic_file_checkpoint,
};
diff --git a/fs/hfsplus/inode.c b/fs/hfsplus/inode.c
index 1bcf597..19abd7e 100644
--- a/fs/hfsplus/inode.c
+++ b/fs/hfsplus/inode.c
@@ -286,6 +286,7 @@ static const struct file_operations hfsplus_file_operations = {
.open = hfsplus_file_open,
.release = hfsplus_file_release,
.ioctl = hfsplus_ioctl,
+ .checkpoint = generic_file_checkpoint,
};
struct inode *hfsplus_new_inode(struct super_block *sb, int mode)
--
1.5.6.3
^ permalink raw reply related [flat|nested] 41+ messages in thread* [RFC][PATCH 12/36] hppfs: Add checkpoint file operations
[not found] ` <63ff4e88102e10e86bffefd5e4445ab433ed51c0.1241462097.git.matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
` (17 preceding siblings ...)
2009-05-04 20:27 ` [RFC][PATCH 10/36] hfsplus: " Matt Helsley
@ 2009-05-04 20:27 ` Matt Helsley
2009-05-04 20:27 ` [RFC][PATCH 03/36] bfs: " Matt Helsley
` (16 subsequent siblings)
35 siblings, 0 replies; 41+ messages in thread
From: Matt Helsley @ 2009-05-04 20:27 UTC (permalink / raw)
To: Oren Laadan; +Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA
Add the checkpoint operation for hppfs files and directories.
Signed-off-by: Matt Helsley <matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
Cc: linux-fsdevel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
---
fs/hppfs/hppfs.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/fs/hppfs/hppfs.c b/fs/hppfs/hppfs.c
index a5089a6..f132fa2 100644
--- a/fs/hppfs/hppfs.c
+++ b/fs/hppfs/hppfs.c
@@ -546,6 +546,7 @@ static const struct file_operations hppfs_file_fops = {
.read = hppfs_read,
.write = hppfs_write,
.open = hppfs_open,
+ .checkpoint = generic_file_checkpoint,
};
struct hppfs_dirent {
@@ -597,6 +598,7 @@ static const struct file_operations hppfs_dir_fops = {
.readdir = hppfs_readdir,
.open = hppfs_dir_open,
.fsync = hppfs_fsync,
+ .checkpoint = generic_file_checkpoint,
};
static int hppfs_statfs(struct dentry *dentry, struct kstatfs *sf)
--
1.5.6.3
^ permalink raw reply related [flat|nested] 41+ messages in thread* [RFC][PATCH 03/36] bfs: Add checkpoint file operations
[not found] ` <63ff4e88102e10e86bffefd5e4445ab433ed51c0.1241462097.git.matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
` (18 preceding siblings ...)
2009-05-04 20:27 ` [RFC][PATCH 12/36] hppfs: " Matt Helsley
@ 2009-05-04 20:27 ` Matt Helsley
2009-05-04 20:27 ` [RFC][PATCH 30/36] omfs: " Matt Helsley
` (15 subsequent siblings)
35 siblings, 0 replies; 41+ messages in thread
From: Matt Helsley @ 2009-05-04 20:27 UTC (permalink / raw)
To: Oren Laadan; +Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA
Add the checkpoint operation for bfs files and directories.
Signed-off-by: Matt Helsley <matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
Cc: linux-fsdevel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
---
fs/bfs/dir.c | 1 +
fs/bfs/file.c | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/fs/bfs/dir.c b/fs/bfs/dir.c
index 4dd1b62..dd34403 100644
--- a/fs/bfs/dir.c
+++ b/fs/bfs/dir.c
@@ -81,6 +81,7 @@ const struct file_operations bfs_dir_operations = {
.readdir = bfs_readdir,
.fsync = file_fsync,
.llseek = generic_file_llseek,
+ .checkpoint = generic_file_checkpoint,
};
extern void dump_imap(const char *, struct super_block *);
diff --git a/fs/bfs/file.c b/fs/bfs/file.c
index 6a02126..c74d5b9 100644
--- a/fs/bfs/file.c
+++ b/fs/bfs/file.c
@@ -30,6 +30,7 @@ const struct file_operations bfs_file_operations = {
.aio_write = generic_file_aio_write,
.mmap = generic_file_mmap,
.splice_read = generic_file_splice_read,
+ .checkpoint = generic_file_checkpoint,
};
static int bfs_move_block(unsigned long from, unsigned long to,
--
1.5.6.3
^ permalink raw reply related [flat|nested] 41+ messages in thread* [RFC][PATCH 30/36] omfs: Add checkpoint file operations
[not found] ` <63ff4e88102e10e86bffefd5e4445ab433ed51c0.1241462097.git.matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
` (19 preceding siblings ...)
2009-05-04 20:27 ` [RFC][PATCH 03/36] bfs: " Matt Helsley
@ 2009-05-04 20:27 ` Matt Helsley
2009-05-04 20:27 ` [RFC][PATCH 25/36] udf: " Matt Helsley
` (14 subsequent siblings)
35 siblings, 0 replies; 41+ messages in thread
From: Matt Helsley @ 2009-05-04 20:27 UTC (permalink / raw)
To: Oren Laadan; +Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA
Add checkpoint operations for omfs files and directories.
Signed-off-by: Matt Helsley <matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
---
fs/omfs/dir.c | 1 +
fs/omfs/file.c | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/fs/omfs/dir.c b/fs/omfs/dir.c
index c7275cf..5ed9cb3 100644
--- a/fs/omfs/dir.c
+++ b/fs/omfs/dir.c
@@ -502,4 +502,5 @@ struct file_operations omfs_dir_operations = {
.read = generic_read_dir,
.readdir = omfs_readdir,
.llseek = generic_file_llseek,
+ .checkpoint = generic_file_checkpoint,
};
diff --git a/fs/omfs/file.c b/fs/omfs/file.c
index 834b233..ee669e5 100644
--- a/fs/omfs/file.c
+++ b/fs/omfs/file.c
@@ -346,6 +346,7 @@ struct file_operations omfs_file_operations = {
.mmap = generic_file_mmap,
.fsync = omfs_sync_file,
.splice_read = generic_file_splice_read,
+ .checkpoint = generic_file_checkpoint,
};
struct inode_operations omfs_file_inops = {
--
1.5.6.3
^ permalink raw reply related [flat|nested] 41+ messages in thread* [RFC][PATCH 25/36] udf: Add checkpoint file operations
[not found] ` <63ff4e88102e10e86bffefd5e4445ab433ed51c0.1241462097.git.matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
` (20 preceding siblings ...)
2009-05-04 20:27 ` [RFC][PATCH 30/36] omfs: " Matt Helsley
@ 2009-05-04 20:27 ` Matt Helsley
2009-05-04 20:27 ` [RFC][PATCH 01/36] affs: " Matt Helsley
` (13 subsequent siblings)
35 siblings, 0 replies; 41+ messages in thread
From: Matt Helsley @ 2009-05-04 20:27 UTC (permalink / raw)
To: Oren Laadan; +Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA
Add the checkpoint operation for udf filesystem files and
directories.
Signed-off-by: Matt Helsley <matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
Cc: Jan Kara <jack-AlSwsSmVLrQ@public.gmane.org>
Cc: linux-fsdevel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
---
fs/udf/dir.c | 1 +
fs/udf/file.c | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/fs/udf/dir.c b/fs/udf/dir.c
index 2efd4d5..90488f5 100644
--- a/fs/udf/dir.c
+++ b/fs/udf/dir.c
@@ -211,4 +211,5 @@ const struct file_operations udf_dir_operations = {
.readdir = udf_readdir,
.ioctl = udf_ioctl,
.fsync = udf_fsync_file,
+ .checkpoint = generic_file_checkpoint,
};
diff --git a/fs/udf/file.c b/fs/udf/file.c
index eb91f3b..8e7ad98 100644
--- a/fs/udf/file.c
+++ b/fs/udf/file.c
@@ -212,6 +212,7 @@ const struct file_operations udf_file_operations = {
.fsync = udf_fsync_file,
.splice_read = generic_file_splice_read,
.llseek = generic_file_llseek,
+ .checkpoint = generic_file_checkpoint,
};
const struct inode_operations udf_file_inode_operations = {
--
1.5.6.3
^ permalink raw reply related [flat|nested] 41+ messages in thread* [RFC][PATCH 01/36] affs: Add checkpoint file operations
[not found] ` <63ff4e88102e10e86bffefd5e4445ab433ed51c0.1241462097.git.matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
` (21 preceding siblings ...)
2009-05-04 20:27 ` [RFC][PATCH 25/36] udf: " Matt Helsley
@ 2009-05-04 20:27 ` Matt Helsley
2009-05-04 20:27 ` [RFC][PATCH 19/36] qnx4: " Matt Helsley
` (12 subsequent siblings)
35 siblings, 0 replies; 41+ messages in thread
From: Matt Helsley @ 2009-05-04 20:27 UTC (permalink / raw)
To: Oren Laadan; +Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA
Enable checkpoint of files and directories on affs.
Signed-off-by: Matt Helsley <matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
Cc: linux-fsdevel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
---
fs/affs/dir.c | 1 +
fs/affs/file.c | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/fs/affs/dir.c b/fs/affs/dir.c
index 7b36904..c5110a1 100644
--- a/fs/affs/dir.c
+++ b/fs/affs/dir.c
@@ -22,6 +22,7 @@ const struct file_operations affs_dir_operations = {
.llseek = generic_file_llseek,
.readdir = affs_readdir,
.fsync = file_fsync,
+ .checkpoint = generic_file_checkpoint,
};
/*
diff --git a/fs/affs/file.c b/fs/affs/file.c
index 9246cb4..3a6f8ea 100644
--- a/fs/affs/file.c
+++ b/fs/affs/file.c
@@ -36,6 +36,7 @@ const struct file_operations affs_file_operations = {
.release = affs_file_release,
.fsync = file_fsync,
.splice_read = generic_file_splice_read,
+ .checkpoint = generic_file_checkpoint,
};
const struct inode_operations affs_file_inode_operations = {
--
1.5.6.3
^ permalink raw reply related [flat|nested] 41+ messages in thread* [RFC][PATCH 19/36] qnx4: Add checkpoint file operations
[not found] ` <63ff4e88102e10e86bffefd5e4445ab433ed51c0.1241462097.git.matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
` (22 preceding siblings ...)
2009-05-04 20:27 ` [RFC][PATCH 01/36] affs: " Matt Helsley
@ 2009-05-04 20:27 ` Matt Helsley
2009-05-04 20:27 ` [RFC][PATCH 31/36] ufs: " Matt Helsley
` (11 subsequent siblings)
35 siblings, 0 replies; 41+ messages in thread
From: Matt Helsley @ 2009-05-04 20:27 UTC (permalink / raw)
To: Oren Laadan; +Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA
Add the checkpoint operation for qnx4 files and directories.
Signed-off-by: Matt Helsley <matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
Cc: linux-fsdevel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
---
fs/qnx4/dir.c | 1 +
fs/qnx4/file.c | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/fs/qnx4/dir.c b/fs/qnx4/dir.c
index ea9ffef..2905691 100644
--- a/fs/qnx4/dir.c
+++ b/fs/qnx4/dir.c
@@ -85,6 +85,7 @@ const struct file_operations qnx4_dir_operations =
.read = generic_read_dir,
.readdir = qnx4_readdir,
.fsync = file_fsync,
+ .checkpoint = generic_file_checkpoint,
};
const struct inode_operations qnx4_dir_inode_operations =
diff --git a/fs/qnx4/file.c b/fs/qnx4/file.c
index 867f42b..495885e 100644
--- a/fs/qnx4/file.c
+++ b/fs/qnx4/file.c
@@ -31,6 +31,7 @@ const struct file_operations qnx4_file_operations =
.aio_write = generic_file_aio_write,
.fsync = qnx4_sync_file,
#endif
+ .checkpoint = generic_file_checkpoint,
};
const struct inode_operations qnx4_file_inode_operations =
--
1.5.6.3
^ permalink raw reply related [flat|nested] 41+ messages in thread* [RFC][PATCH 31/36] ufs: Add checkpoint file operations
[not found] ` <63ff4e88102e10e86bffefd5e4445ab433ed51c0.1241462097.git.matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
` (23 preceding siblings ...)
2009-05-04 20:27 ` [RFC][PATCH 19/36] qnx4: " Matt Helsley
@ 2009-05-04 20:27 ` Matt Helsley
2009-05-04 20:27 ` [RFC][PATCH 33/36] adfs: " Matt Helsley
` (10 subsequent siblings)
35 siblings, 0 replies; 41+ messages in thread
From: Matt Helsley @ 2009-05-04 20:27 UTC (permalink / raw)
To: Oren Laadan; +Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA
Add checkpoint operations for ufs files and directories.
Signed-off-by: Matt Helsley <matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
---
fs/ufs/dir.c | 1 +
fs/ufs/file.c | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/fs/ufs/dir.c b/fs/ufs/dir.c
index dbbbc46..6842025 100644
--- a/fs/ufs/dir.c
+++ b/fs/ufs/dir.c
@@ -668,4 +668,5 @@ const struct file_operations ufs_dir_operations = {
.readdir = ufs_readdir,
.fsync = file_fsync,
.llseek = generic_file_llseek,
+ .checkpoint = generic_file_checkpoint,
};
diff --git a/fs/ufs/file.c b/fs/ufs/file.c
index 625ef17..f1139d9 100644
--- a/fs/ufs/file.c
+++ b/fs/ufs/file.c
@@ -64,4 +64,5 @@ const struct file_operations ufs_file_operations = {
.open = generic_file_open,
.fsync = ufs_sync_file,
.splice_read = generic_file_splice_read,
+ .checkpoint = generic_file_checkpoint,
};
--
1.5.6.3
^ permalink raw reply related [flat|nested] 41+ messages in thread* [RFC][PATCH 33/36] adfs: Add checkpoint file operations
[not found] ` <63ff4e88102e10e86bffefd5e4445ab433ed51c0.1241462097.git.matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
` (24 preceding siblings ...)
2009-05-04 20:27 ` [RFC][PATCH 31/36] ufs: " Matt Helsley
@ 2009-05-04 20:27 ` Matt Helsley
2009-05-04 20:27 ` [RFC][PATCH 28/36] read_write.c | 1 +: " Matt Helsley
` (9 subsequent siblings)
35 siblings, 0 replies; 41+ messages in thread
From: Matt Helsley @ 2009-05-04 20:27 UTC (permalink / raw)
To: Oren Laadan; +Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA
Add the checkpoint operation for adfs files and directories.
Signed-off-by: Matt Helsley <matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
Cc: linux-fsdevel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
---
fs/adfs/dir.c | 1 +
fs/adfs/file.c | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/fs/adfs/dir.c b/fs/adfs/dir.c
index e867ccf..c05783a 100644
--- a/fs/adfs/dir.c
+++ b/fs/adfs/dir.c
@@ -200,6 +200,7 @@ const struct file_operations adfs_dir_operations = {
.llseek = generic_file_llseek,
.readdir = adfs_readdir,
.fsync = file_fsync,
+ .checkpoint = generic_file_checkpoint,
};
static int
diff --git a/fs/adfs/file.c b/fs/adfs/file.c
index 36e381c..0d2f552 100644
--- a/fs/adfs/file.c
+++ b/fs/adfs/file.c
@@ -34,6 +34,7 @@ const struct file_operations adfs_file_operations = {
.write = do_sync_write,
.aio_write = generic_file_aio_write,
.splice_read = generic_file_splice_read,
+ .checkpoint = generic_file_checkpoint,
};
const struct inode_operations adfs_file_inode_operations = {
--
1.5.6.3
^ permalink raw reply related [flat|nested] 41+ messages in thread* [RFC][PATCH 28/36] read_write.c | 1 +: Add checkpoint file operations
[not found] ` <63ff4e88102e10e86bffefd5e4445ab433ed51c0.1241462097.git.matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
` (25 preceding siblings ...)
2009-05-04 20:27 ` [RFC][PATCH 33/36] adfs: " Matt Helsley
@ 2009-05-04 20:27 ` Matt Helsley
2009-05-04 20:27 ` [RFC][PATCH 05/36] cramfs: " Matt Helsley
` (8 subsequent siblings)
35 siblings, 0 replies; 41+ messages in thread
From: Matt Helsley @ 2009-05-04 20:27 UTC (permalink / raw)
To: Oren Laadan; +Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA
Add the checkpoint operation for generic, read-only files. At present,
some/all files of the following filesystems use this generic definition:
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-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
---
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 ed63ea3..88655d5 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
^ permalink raw reply related [flat|nested] 41+ messages in thread* [RFC][PATCH 05/36] cramfs: Add checkpoint file operations
[not found] ` <63ff4e88102e10e86bffefd5e4445ab433ed51c0.1241462097.git.matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
` (26 preceding siblings ...)
2009-05-04 20:27 ` [RFC][PATCH 28/36] read_write.c | 1 +: " Matt Helsley
@ 2009-05-04 20:27 ` Matt Helsley
2009-05-04 20:27 ` [RFC][PATCH 34/36] exofs: " Matt Helsley
` (7 subsequent siblings)
35 siblings, 0 replies; 41+ messages in thread
From: Matt Helsley @ 2009-05-04 20:27 UTC (permalink / raw)
To: Oren Laadan; +Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA
Add the checkpoint operation for cramfs directories.
Signed-off-by: Matt Helsley <matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
Cc: linux-fsdevel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
---
fs/cramfs/inode.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/fs/cramfs/inode.c b/fs/cramfs/inode.c
index dd3634e..0927503 100644
--- a/fs/cramfs/inode.c
+++ b/fs/cramfs/inode.c
@@ -532,6 +532,7 @@ static const struct file_operations cramfs_directory_operations = {
.llseek = generic_file_llseek,
.read = generic_read_dir,
.readdir = cramfs_readdir,
+ .checkpoint = generic_file_checkpoint,
};
static const struct inode_operations cramfs_dir_inode_operations = {
--
1.5.6.3
^ permalink raw reply related [flat|nested] 41+ messages in thread* [RFC][PATCH 34/36] exofs: Add checkpoint file operations
[not found] ` <63ff4e88102e10e86bffefd5e4445ab433ed51c0.1241462097.git.matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
` (27 preceding siblings ...)
2009-05-04 20:27 ` [RFC][PATCH 05/36] cramfs: " Matt Helsley
@ 2009-05-04 20:27 ` Matt Helsley
2009-05-04 20:27 ` [RFC][PATCH 07/36] fat: " Matt Helsley
` (6 subsequent siblings)
35 siblings, 0 replies; 41+ messages in thread
From: Matt Helsley @ 2009-05-04 20:27 UTC (permalink / raw)
To: Oren Laadan; +Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA
Add the checkpoint operation to exofs files and directories.
Signed-off-by: Matt Helsley <matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
Cc: Boaz Harrosh <bharrosh-C4P08NqkoRlBDgjK7y7TUQ@public.gmane.org>
Cc: Avishay Traeger <avishay-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: linux-fsdevel <linux-fsdevel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
---
fs/exofs/dir.c | 1 +
fs/exofs/file.c | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/fs/exofs/dir.c b/fs/exofs/dir.c
index 65b0c8c..5184c15 100644
--- a/fs/exofs/dir.c
+++ b/fs/exofs/dir.c
@@ -669,4 +669,5 @@ const struct file_operations exofs_dir_operations = {
.llseek = generic_file_llseek,
.read = generic_read_dir,
.readdir = exofs_readdir,
+ .checkpoint = generic_file_checkpoint,
};
diff --git a/fs/exofs/file.c b/fs/exofs/file.c
index 6ed7fe4..b94e792 100644
--- a/fs/exofs/file.c
+++ b/fs/exofs/file.c
@@ -68,6 +68,7 @@ static int exofs_flush(struct file *file, fl_owner_t id)
const struct file_operations exofs_file_operations = {
.llseek = generic_file_llseek,
+ .checkpoint = generic_file_checkpoint,
.read = do_sync_read,
.write = do_sync_write,
.aio_read = generic_file_aio_read,
--
1.5.6.3
^ permalink raw reply related [flat|nested] 41+ messages in thread* [RFC][PATCH 07/36] fat: Add checkpoint file operations
[not found] ` <63ff4e88102e10e86bffefd5e4445ab433ed51c0.1241462097.git.matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
` (28 preceding siblings ...)
2009-05-04 20:27 ` [RFC][PATCH 34/36] exofs: " Matt Helsley
@ 2009-05-04 20:27 ` Matt Helsley
2009-05-04 20:27 ` [RFC][PATCH 23/36] sysv: " Matt Helsley
` (5 subsequent siblings)
35 siblings, 0 replies; 41+ messages in thread
From: Matt Helsley @ 2009-05-04 20:27 UTC (permalink / raw)
To: Oren Laadan; +Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA
Add the checkpoint operation for fat files and directories.
Signed-off-by: Matt Helsley <matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
Cc: linux-fsdevel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
---
fs/fat/dir.c | 1 +
fs/fat/file.c | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/fs/fat/dir.c b/fs/fat/dir.c
index 3a7f603..3baecf8 100644
--- a/fs/fat/dir.c
+++ b/fs/fat/dir.c
@@ -841,6 +841,7 @@ const struct file_operations fat_dir_operations = {
.compat_ioctl = fat_compat_dir_ioctl,
#endif
.fsync = file_fsync,
+ .checkpoint = generic_file_checkpoint,
};
static int fat_get_short_entry(struct inode *dir, loff_t *pos,
diff --git a/fs/fat/file.c b/fs/fat/file.c
index 0a7f4a9..f2abe6c 100644
--- a/fs/fat/file.c
+++ b/fs/fat/file.c
@@ -144,6 +144,7 @@ const struct file_operations fat_file_operations = {
.ioctl = fat_generic_ioctl,
.fsync = file_fsync,
.splice_read = generic_file_splice_read,
+ .checkpoint = generic_file_checkpoint,
};
static int fat_cont_expand(struct inode *inode, loff_t size)
--
1.5.6.3
^ permalink raw reply related [flat|nested] 41+ messages in thread* [RFC][PATCH 23/36] sysv: Add checkpoint file operations
[not found] ` <63ff4e88102e10e86bffefd5e4445ab433ed51c0.1241462097.git.matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
` (29 preceding siblings ...)
2009-05-04 20:27 ` [RFC][PATCH 07/36] fat: " Matt Helsley
@ 2009-05-04 20:27 ` Matt Helsley
2009-05-04 20:27 ` [RFC][PATCH 11/36] hpfs: " Matt Helsley
` (4 subsequent siblings)
35 siblings, 0 replies; 41+ messages in thread
From: Matt Helsley @ 2009-05-04 20:27 UTC (permalink / raw)
To: Oren Laadan; +Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA
Add the checkpoint operation for sysv filesystem files and
directories.
Signed-off-by: Matt Helsley <matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
Cc: Christoph Hellwig <hch-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>
Cc: linux-fsdevel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
---
fs/sysv/dir.c | 1 +
fs/sysv/file.c | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/fs/sysv/dir.c b/fs/sysv/dir.c
index 56f6552..ff0adf1 100644
--- a/fs/sysv/dir.c
+++ b/fs/sysv/dir.c
@@ -25,6 +25,7 @@ const struct file_operations sysv_dir_operations = {
.read = generic_read_dir,
.readdir = sysv_readdir,
.fsync = sysv_sync_file,
+ .checkpoint = generic_file_checkpoint,
};
static inline void dir_put_page(struct page *page)
diff --git a/fs/sysv/file.c b/fs/sysv/file.c
index 589be21..139593d 100644
--- a/fs/sysv/file.c
+++ b/fs/sysv/file.c
@@ -28,6 +28,7 @@ const struct file_operations sysv_file_operations = {
.mmap = generic_file_mmap,
.fsync = sysv_sync_file,
.splice_read = generic_file_splice_read,
+ .checkpoint = generic_file_checkpoint,
};
const struct inode_operations sysv_file_inode_operations = {
--
1.5.6.3
^ permalink raw reply related [flat|nested] 41+ messages in thread* [RFC][PATCH 11/36] hpfs: Add checkpoint file operations
[not found] ` <63ff4e88102e10e86bffefd5e4445ab433ed51c0.1241462097.git.matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
` (30 preceding siblings ...)
2009-05-04 20:27 ` [RFC][PATCH 23/36] sysv: " Matt Helsley
@ 2009-05-04 20:27 ` Matt Helsley
2009-05-04 20:27 ` [RFC][PATCH 29/36] minix: " Matt Helsley
` (3 subsequent siblings)
35 siblings, 0 replies; 41+ messages in thread
From: Matt Helsley @ 2009-05-04 20:27 UTC (permalink / raw)
To: Oren Laadan; +Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA
Add the checkpoint operation for hpfs files and directories.
Signed-off-by: Matt Helsley <matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
Cc: linux-fsdevel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
---
fs/hpfs/dir.c | 1 +
fs/hpfs/file.c | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/fs/hpfs/dir.c b/fs/hpfs/dir.c
index 6916c41..e88bde6 100644
--- a/fs/hpfs/dir.c
+++ b/fs/hpfs/dir.c
@@ -321,4 +321,5 @@ const struct file_operations hpfs_dir_ops =
.readdir = hpfs_readdir,
.release = hpfs_dir_release,
.fsync = hpfs_file_fsync,
+ .checkpoint = generic_file_checkpoint,
};
diff --git a/fs/hpfs/file.c b/fs/hpfs/file.c
index 64ab522..a24242e 100644
--- a/fs/hpfs/file.c
+++ b/fs/hpfs/file.c
@@ -138,6 +138,7 @@ const struct file_operations hpfs_file_ops =
.release = hpfs_file_release,
.fsync = hpfs_file_fsync,
.splice_read = generic_file_splice_read,
+ .checkpoint = generic_file_checkpoint,
};
const struct inode_operations hpfs_file_iops =
--
1.5.6.3
^ permalink raw reply related [flat|nested] 41+ messages in thread* [RFC][PATCH 29/36] minix: Add checkpoint file operations
[not found] ` <63ff4e88102e10e86bffefd5e4445ab433ed51c0.1241462097.git.matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
` (31 preceding siblings ...)
2009-05-04 20:27 ` [RFC][PATCH 11/36] hpfs: " Matt Helsley
@ 2009-05-04 20:27 ` Matt Helsley
2009-05-04 20:27 ` [RFC][PATCH 02/36] befs: " Matt Helsley
` (2 subsequent siblings)
35 siblings, 0 replies; 41+ messages in thread
From: Matt Helsley @ 2009-05-04 20:27 UTC (permalink / raw)
To: Oren Laadan; +Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA
Add checkpoint operation for minix filesystem files and directories.
Signed-off-by: Matt Helsley <matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
---
fs/minix/dir.c | 1 +
fs/minix/file.c | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/fs/minix/dir.c b/fs/minix/dir.c
index d4946c4..79c8759 100644
--- a/fs/minix/dir.c
+++ b/fs/minix/dir.c
@@ -23,6 +23,7 @@ const struct file_operations minix_dir_operations = {
.read = generic_read_dir,
.readdir = minix_readdir,
.fsync = minix_sync_file,
+ .checkpoint = generic_file_checkpoint,
};
static inline void dir_put_page(struct page *page)
diff --git a/fs/minix/file.c b/fs/minix/file.c
index 17765f6..10d793e 100644
--- a/fs/minix/file.c
+++ b/fs/minix/file.c
@@ -24,6 +24,7 @@ const struct file_operations minix_file_operations = {
.mmap = generic_file_mmap,
.fsync = minix_sync_file,
.splice_read = generic_file_splice_read,
+ .checkpoint = generic_file_checkpoint,
};
const struct inode_operations minix_file_inode_operations = {
--
1.5.6.3
^ permalink raw reply related [flat|nested] 41+ messages in thread* [RFC][PATCH 02/36] befs: Add checkpoint file operations
[not found] ` <63ff4e88102e10e86bffefd5e4445ab433ed51c0.1241462097.git.matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
` (32 preceding siblings ...)
2009-05-04 20:27 ` [RFC][PATCH 29/36] minix: " Matt Helsley
@ 2009-05-04 20:27 ` Matt Helsley
2009-05-04 20:27 ` [RFC][PATCH 26/36] xfs: " Matt Helsley
2009-05-04 20:27 ` [RFC][PATCH 32/36] ramfs: " Matt Helsley
35 siblings, 0 replies; 41+ messages in thread
From: Matt Helsley @ 2009-05-04 20:27 UTC (permalink / raw)
To: Oren Laadan; +Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA
Add the checkpoint operation for befs directories.
Signed-off-by: Matt Helsley <matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
Cc: linux-fsdevel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
---
fs/befs/linuxvfs.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/fs/befs/linuxvfs.c b/fs/befs/linuxvfs.c
index 76afd0d..7b4a4dc 100644
--- a/fs/befs/linuxvfs.c
+++ b/fs/befs/linuxvfs.c
@@ -67,6 +67,7 @@ static const struct file_operations befs_dir_operations = {
.read = generic_read_dir,
.readdir = befs_readdir,
.llseek = generic_file_llseek,
+ .checkpoint = generic_file_checkpoint,
};
static const struct inode_operations befs_dir_inode_operations = {
--
1.5.6.3
^ permalink raw reply related [flat|nested] 41+ messages in thread* [RFC][PATCH 26/36] xfs: Add checkpoint file operations
[not found] ` <63ff4e88102e10e86bffefd5e4445ab433ed51c0.1241462097.git.matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
` (33 preceding siblings ...)
2009-05-04 20:27 ` [RFC][PATCH 02/36] befs: " Matt Helsley
@ 2009-05-04 20:27 ` Matt Helsley
2009-05-04 20:27 ` [RFC][PATCH 32/36] ramfs: " Matt Helsley
35 siblings, 0 replies; 41+ messages in thread
From: Matt Helsley @ 2009-05-04 20:27 UTC (permalink / raw)
To: Oren Laadan; +Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA
Add the checkpoint operation for xfs files and directories.
Signed-off-by: Matt Helsley <matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
Cc: xfs-masters-VZNHf3L845pBDgjK7y7TUQ@public.gmane.org
Cc: xfs-VZNHf3L845pBDgjK7y7TUQ@public.gmane.org
Cc: linux-fsdevel-u79uwXL29TY76Z2rM5mHXA@public.gmane.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
^ permalink raw reply related [flat|nested] 41+ messages in thread* [RFC][PATCH 32/36] ramfs: Add checkpoint file operations
[not found] ` <63ff4e88102e10e86bffefd5e4445ab433ed51c0.1241462097.git.matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
` (34 preceding siblings ...)
2009-05-04 20:27 ` [RFC][PATCH 26/36] xfs: " Matt Helsley
@ 2009-05-04 20:27 ` Matt Helsley
35 siblings, 0 replies; 41+ messages in thread
From: Matt Helsley @ 2009-05-04 20:27 UTC (permalink / raw)
To: Oren Laadan; +Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA
Add checkpoint operations for ramfs files. NOTE: since simple_dir_operations
are shared between multiple filesystems including ramfs, it's not currently
possible to checkpoint open ramfs directories.
Signed-off-by: Matt Helsley <matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
---
fs/ramfs/file-mmu.c | 1 +
fs/ramfs/file-nommu.c | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/fs/ramfs/file-mmu.c b/fs/ramfs/file-mmu.c
index 78f613c..4430239 100644
--- a/fs/ramfs/file-mmu.c
+++ b/fs/ramfs/file-mmu.c
@@ -47,6 +47,7 @@ const struct file_operations ramfs_file_operations = {
.splice_read = generic_file_splice_read,
.splice_write = generic_file_splice_write,
.llseek = generic_file_llseek,
+ .checkpoint = generic_file_checkpoint,
};
const struct inode_operations ramfs_file_inode_operations = {
diff --git a/fs/ramfs/file-nommu.c b/fs/ramfs/file-nommu.c
index ebb2c41..5f7e20a 100644
--- a/fs/ramfs/file-nommu.c
+++ b/fs/ramfs/file-nommu.c
@@ -44,6 +44,7 @@ const struct file_operations ramfs_file_operations = {
.splice_read = generic_file_splice_read,
.splice_write = generic_file_splice_write,
.llseek = generic_file_llseek,
+ .checkpoint = generic_file_checkpoint,
};
const struct inode_operations ramfs_file_inode_operations = {
--
1.5.6.3
^ permalink raw reply related [flat|nested] 41+ messages in thread