]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/blob - src/patches/suse-2.6.27.25/patches.fixes/ocfs2-remove-prepare_write-commit_write.patch
Updated xen patches taken from suse.
[people/teissler/ipfire-2.x.git] / src / patches / suse-2.6.27.25 / patches.fixes / ocfs2-remove-prepare_write-commit_write.patch
1 From: Nick Piggin <npiggin@suse.de>
2 Date: Wed, 29 Oct 2008 14:00:55 -0700
3 Subject: fs: remove prepare_write/commit_write
4
5 Nothing uses prepare_write or commit_write. Remove them from the tree
6 completely.
7
8 [akpm@linux-foundation.org: schedule simple_prepare_write() for unexporting]
9 Signed-off-by: Nick Piggin <npiggin@suse.de>
10 Cc: Christoph Hellwig <hch@lst.de>
11 Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
12 Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
13 Acked-by: Mark Fasheh <mfasheh@suse.com>
14
15 ---
16 fs/ocfs2/file.c | 3 +--
17 1 files changed, 1 insertions(+), 2 deletions(-)
18
19 Index: 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 {