]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
block_write_begin(): remove useless goto
authorFranck Bui-Huu <fbuihuu@gmail.com>
Tue, 6 Jan 2009 22:40:19 +0000 (14:40 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 6 Jan 2009 23:59:08 +0000 (15:59 -0800)
Signed-off-by: Franck Bui-Huu <fbuihuu@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/buffer.c

index a13f09b696f7f2da6adbd3cfeee299c9b6840ac6..c26da785938ac1e75cf30944c952a31f15f14814 100644 (file)
@@ -2022,7 +2022,6 @@ int block_write_begin(struct file *file, struct address_space *mapping,
                        if (pos + len > inode->i_size)
                                vmtruncate(inode, inode->i_size);
                }
-               goto out;
        }
 
 out: