Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 087d3d8b authored by Kinglong Mee's avatar Kinglong Mee Committed by Jaegeuk Kim
Browse files

f2fs: drop duplicate new_size assign in f2fs_zero_range

parent 8a6aa325
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -1197,8 +1197,6 @@ static int f2fs_zero_range(struct inode *inode, loff_t offset, loff_t len,
		if (ret)
			return ret;

		if (offset + len > new_size)
			new_size = offset + len;
		new_size = max_t(loff_t, new_size, offset + len);
	} else {
		if (off_start) {