]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - src/patches/suse-2.6.27.31/patches.fixes/ocfs2-remove-prepare_write-commit_write.patch
Imported linux-2.6.27.39 suse/xen patches.
[people/pmueller/ipfire-2.x.git] / src / patches / suse-2.6.27.31 / patches.fixes / ocfs2-remove-prepare_write-commit_write.patch
diff --git a/src/patches/suse-2.6.27.31/patches.fixes/ocfs2-remove-prepare_write-commit_write.patch b/src/patches/suse-2.6.27.31/patches.fixes/ocfs2-remove-prepare_write-commit_write.patch
deleted file mode 100644 (file)
index bac9845..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-From: Nick Piggin <npiggin@suse.de>
-Date: Wed, 29 Oct 2008 14:00:55 -0700
-Subject: fs: remove prepare_write/commit_write
-
-Nothing uses prepare_write or commit_write. Remove them from the tree
-completely.
-
-[akpm@linux-foundation.org: schedule simple_prepare_write() for unexporting]
-Signed-off-by: Nick Piggin <npiggin@suse.de>
-Cc: Christoph Hellwig <hch@lst.de>
-Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
-Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-Acked-by: Mark Fasheh <mfasheh@suse.com>
-
----
- fs/ocfs2/file.c |    3 +--
- 1 files changed, 1 insertions(+), 2 deletions(-)
-
-Index: linux-2.6.27-ocfs2/fs/ocfs2/file.c
-===================================================================
---- linux-2.6.27-ocfs2.orig/fs/ocfs2/file.c
-+++ linux-2.6.27-ocfs2/fs/ocfs2/file.c
-@@ -679,8 +679,7 @@ leave:
- /* Some parts of this taken from generic_cont_expand, which turned out
-  * to be too fragile to do exactly what we need without us having to
-- * worry about recursive locking in ->prepare_write() and
-- * ->commit_write(). */
-+ * worry about recursive locking in ->write_begin() and ->write_end(). */
- static int ocfs2_write_zero_page(struct inode *inode,
-                                u64 size)
- {