Skip to content

Commit

Permalink
block_write_begin(): remove useless goto
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Franck Bui-Huu authored and Linus Torvalds committed Jan 6, 2009
1 parent 4779280 commit 69e9930
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion fs/buffer.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 69e9930

Please sign in to comment.