Skip to content

Commit c1c09da

Browse files
committed
Merge tag 'fs_for_v6.7-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs
Pull ext2 fix from Jan Kara: "Fix an ext2 bug introduced by changes in ext2 & iomap stepping on each other toes (apparently ext2 driver does not get much testing in linux-next)" * tag 'fs_for_v6.7-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs: ext2: Fix ki_pos update for DIO buffered-io fallback case
2 parents e6861be + 8abc712 commit c1c09da

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

fs/ext2/file.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,6 @@ static ssize_t ext2_dio_write_iter(struct kiocb *iocb, struct iov_iter *from)
258258
goto out_unlock;
259259
}
260260

261-
iocb->ki_pos += status;
262261
ret += status;
263262
endbyte = pos + status - 1;
264263
ret2 = filemap_write_and_wait_range(inode->i_mapping, pos,

0 commit comments

Comments
 (0)