[stable] 2.6.27.32-rc1 build failure

From: Chuck Ebbert
Date: Sat Sep 05 2009 - 14:12:59 EST


2.6.27.32-rc1 is missing a line, causing:
fs/ocfs2/aops.c: In function 'ocfs2_write_cluster':
fs/ocfs2/aops.c:1286: error: 'should_zero' undeclared (first use in
this function)

Caused by patch #41:
ocfs2-initialize-the-cluster-we-re-writing-to-in-a-non-sparse-extend.patch

Fix, taken from the 2.6.30-stable patch:

--- linux-2.6.27.x86_64.orig/fs/ocfs2/aops.c
+++ linux-2.6.27.x86_64/fs/ocfs2/aops.c
@@ -1234,6 +1234,7 @@ out:
*/
static int ocfs2_write_cluster(struct address_space *mapping,
u32 phys, unsigned int unwritten,
+ unsigned int should_zero,
struct ocfs2_alloc_context *data_ac,
struct ocfs2_alloc_context *meta_ac,
struct ocfs2_write_ctxt *wc, u32 cpos,
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/