]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blame - src/patches/suse-2.6.27.31/patches.fixes/ocfs2-remove-prepare_write-commit_write.patch
Move xen patchset to new version's subdir.
[people/pmueller/ipfire-2.x.git] / src / patches / suse-2.6.27.31 / patches.fixes / ocfs2-remove-prepare_write-commit_write.patch
CommitLineData
00e5a55c
BS
1From: Nick Piggin <npiggin@suse.de>
2Date: Wed, 29 Oct 2008 14:00:55 -0700
3Subject: fs: remove prepare_write/commit_write
4
5Nothing uses prepare_write or commit_write. Remove them from the tree
6completely.
7
8[akpm@linux-foundation.org: schedule simple_prepare_write() for unexporting]
9Signed-off-by: Nick Piggin <npiggin@suse.de>
10Cc: Christoph Hellwig <hch@lst.de>
11Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
12Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
13Acked-by: Mark Fasheh <mfasheh@suse.com>
14
15---
16 fs/ocfs2/file.c | 3 +--
17 1 files changed, 1 insertions(+), 2 deletions(-)
18
19Index: linux-2.6.27-ocfs2/fs/ocfs2/file.c
20===================================================================
21--- linux-2.6.27-ocfs2.orig/fs/ocfs2/file.c
22+++ linux-2.6.27-ocfs2/fs/ocfs2/file.c
23@@ -679,8 +679,7 @@ leave:
24
25 /* Some parts of this taken from generic_cont_expand, which turned out
26 * to be too fragile to do exactly what we need without us having to
27- * worry about recursive locking in ->prepare_write() and
28- * ->commit_write(). */
29+ * worry about recursive locking in ->write_begin() and ->write_end(). */
30 static int ocfs2_write_zero_page(struct inode *inode,
31 u64 size)
32 {