[<prev] [next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0703111330510.765@sbz-30.cs.Helsinki.FI>
Date: Sun, 11 Mar 2007 13:31:18 +0200 (EET)
From: Pekka J Enberg <penberg@...helsinki.fi>
To: akpm@...ux-foundation.org
cc: linux-kernel@...r.kernel.org, hch@...radead.org,
alan@...rguk.ukuu.org.uk
Subject: [PATCH 3/5] revoke: support for ext2 and ext3
From: Pekka Enberg <penberg@...helsinki.fi>
Add revoke support to ext2 and ext3 by wiring f_ops->revoke with
generic_file_revoke.
Signed-off-by: Pekka Enberg <penberg@...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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists