lkml.org 
[lkml]   [2007]   [Mar]   [11]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateSun, 11 Mar 2007 13:31:18 +0200 (EET)
FromPekka J Enberg <>
Subject[PATCH 3/5] revoke: support for ext2 and ext3
From: Pekka Enberg <penberg@cs.helsinki.fi>

Add revoke support to ext2 and ext3 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 +
 2 files changed, 2 insertions(+)
Index: uml-2.6/fs/ext2/file.c
===================================================================
--- uml-2.6.orig/fs/ext2/file.c	2007-03-11 13:05:33.000000000 +0200
+++ uml-2.6/fs/ext2/file.c	2007-03-11 13:09:21.000000000 +0200
@@ -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: uml-2.6/fs/ext3/file.c
===================================================================
--- uml-2.6.orig/fs/ext3/file.c	2007-03-11 13:05:33.000000000 +0200
+++ uml-2.6/fs/ext3/file.c	2007-03-11 13:09:21.000000000 +0200
@@ -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 = {
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2007-03-11 12:33    [from the cache]
©2003-2008