linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC/PATCH 4/5] revoke: support for ext2 and ext3
@ 2007-07-11  9:01 Pekka J Enberg
  0 siblings, 0 replies; only message in thread
From: Pekka J Enberg @ 2007-07-11  9:01 UTC (permalink / raw)
  To: linux-fsdevel

From: Pekka Enberg <penberg@cs.helsinki.fi>

Add revoke support to ext2, ext3 and ext4 by wiring f_ops->revoke with
generic_file_revoke.

Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
---

 fs/ext2/file.c |    1 +
 fs/ext3/file.c |    1 +
 fs/ext4/file.c |    1 +
 3 files changed, 3 insertions(+)

Index: 2.6/fs/ext2/file.c
===================================================================
--- 2.6.orig/fs/ext2/file.c	2007-05-04 13:49:05.000000000 +0300
+++ 2.6/fs/ext2/file.c	2007-07-11 11:48:43.000000000 +0300
@@ -56,6 +56,7 @@ const struct file_operations ext2_file_o
 	.sendfile	= generic_file_sendfile,
 	.splice_read	= generic_file_splice_read,
 	.splice_write	= generic_file_splice_write,
+	.revoke		= generic_file_revoke,
 };
 
 #ifdef CONFIG_EXT2_FS_XIP
Index: 2.6/fs/ext3/file.c
===================================================================
--- 2.6.orig/fs/ext3/file.c	2007-05-04 13:49:05.000000000 +0300
+++ 2.6/fs/ext3/file.c	2007-07-11 11:48:43.000000000 +0300
@@ -123,6 +123,7 @@ const struct file_operations ext3_file_o
 	.sendfile	= generic_file_sendfile,
 	.splice_read	= generic_file_splice_read,
 	.splice_write	= generic_file_splice_write,
+	.revoke         = generic_file_revoke,
 };
 
 const struct inode_operations ext3_file_inode_operations = {
Index: 2.6/fs/ext4/file.c
===================================================================
--- 2.6.orig/fs/ext4/file.c	2007-05-04 13:49:05.000000000 +0300
+++ 2.6/fs/ext4/file.c	2007-07-11 11:48:43.000000000 +0300
@@ -123,6 +123,7 @@ const struct file_operations ext4_file_o
 	.sendfile	= generic_file_sendfile,
 	.splice_read	= generic_file_splice_read,
 	.splice_write	= generic_file_splice_write,
+	.revoke         = generic_file_revoke,
 };
 
 const struct inode_operations ext4_file_inode_operations = {

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-07-11  9:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-11  9:01 [RFC/PATCH 4/5] revoke: support for ext2 and ext3 Pekka J Enberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).