From 44658db4934a458711a3b94814f92cc062159f85 Mon Sep 17 00:00:00 2001 From: Steven Whitehouse Date: Tue, 28 Sep 2010 10:17:47 +0100 Subject: [PATCH] --- yaml --- r: 211634 b: refs/heads/master c: d594845106f34c079a6b05be01a37e4883c3bf4c h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/fs/gfs2/aops.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 2d32af1600b8..789b78791181 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: bf97b6734e027cc18abad420ab88f861f65d7816 +refs/heads/master: d594845106f34c079a6b05be01a37e4883c3bf4c diff --git a/trunk/fs/gfs2/aops.c b/trunk/fs/gfs2/aops.c index 1bf178831ae8..6b24afb96aae 100644 --- a/trunk/fs/gfs2/aops.c +++ b/trunk/fs/gfs2/aops.c @@ -615,7 +615,7 @@ static int gfs2_write_begin(struct file *file, struct address_space *mapping, unsigned int data_blocks = 0, ind_blocks = 0, rblocks; int alloc_required; int error = 0; - struct gfs2_alloc *al; + struct gfs2_alloc *al = NULL; pgoff_t index = pos >> PAGE_CACHE_SHIFT; unsigned from = pos & (PAGE_CACHE_SIZE - 1); unsigned to = from + len;