mirror of
https://github.com/torvalds/linux.git
synced 2024-11-28 07:01:32 +00:00
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>
This commit is contained in:
parent
4779280d1e
commit
69e9930993
@ -2022,7 +2022,6 @@ int block_write_begin(struct file *file, struct address_space *mapping,
|
|||||||
if (pos + len > inode->i_size)
|
if (pos + len > inode->i_size)
|
||||||
vmtruncate(inode, inode->i_size);
|
vmtruncate(inode, inode->i_size);
|
||||||
}
|
}
|
||||||
goto out;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
out:
|
out:
|
||||||
|
Loading…
Reference in New Issue
Block a user