block_write_begin(): remove useless goto
authorFranck Bui-Huu <[email protected]>
Tue, 6 Jan 2009 22:40:19 +0000 (14:40 -0800)
committerLinus Torvalds <[email protected]>
Tue, 6 Jan 2009 23:59:08 +0000 (15:59 -0800)
Signed-off-by: Franck Bui-Huu <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
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: