diff options
author | Franck Bui-Huu <fbuihuu@gmail.com> | 2009-01-06 17:40:19 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-01-06 18:59:08 -0500 |
commit | 69e9930993cfd70d82c8d9dd96fc3a88854d06fc (patch) | |
tree | 2467f8e1fdb745f4ca5e94acf0aba09c74063125 | |
parent | 4779280d1ea4d361af13ae77ba55217fbcd16d4c (diff) |
block_write_begin(): remove useless goto
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>
-rw-r--r-- | fs/buffer.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/buffer.c b/fs/buffer.c index a13f09b696f7..c26da785938a 100644 --- a/fs/buffer.c +++ b/fs/buffer.c | |||
@@ -2022,7 +2022,6 @@ int block_write_begin(struct file *file, struct address_space *mapping, | |||
2022 | if (pos + len > inode->i_size) | 2022 | if (pos + len > inode->i_size) |
2023 | vmtruncate(inode, inode->i_size); | 2023 | vmtruncate(inode, inode->i_size); |
2024 | } | 2024 | } |
2025 | goto out; | ||
2026 | } | 2025 | } |
2027 | 2026 | ||
2028 | out: | 2027 | out: |