From: Pekka Enberg <[EMAIL PROTECTED]>

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

Signed-off-by: Pekka Enberg <[EMAIL PROTECTED]>
---
 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-08 10:24:23.000000000 +0200
+++ uml-2.6/fs/ext2/file.c      2007-03-08 10:24:32.000000000 +0200
@@ -56,6 +56,7 @@
        .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-08 10:24:23.000000000 +0200
+++ uml-2.6/fs/ext3/file.c      2007-03-08 10:24:32.000000000 +0200
@@ -123,6 +123,7 @@
        .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 [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to