summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorFranck Bui-Huu <fbuihuu@gmail.com>2009-01-07 01:40:19 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2009-01-07 02:59:08 +0300
commit69e9930993cfd70d82c8d9dd96fc3a88854d06fc (patch)
tree2467f8e1fdb745f4ca5e94acf0aba09c74063125 /fs
parent4779280d1ea4d361af13ae77ba55217fbcd16d4c (diff)
downloadlinux-69e9930993cfd70d82c8d9dd96fc3a88854d06fc.tar.xz
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>
Diffstat (limited to 'fs')
-rw-r--r--fs/buffer.c1
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,
if (pos + len > inode->i_size)
vmtruncate(inode, inode->i_size);
}
- goto out;
}
out: