+1
−1
+0
−8
+1
−12
Loading
Now that fuse is integrated with iomap for read/readahead, we can remove the workaround that was added in commit bd24d210 ("fuse: fix fuseblk i_blkbits for iomap partial writes"), which was previously needed to avoid a race condition where an iomap partial write may be overwritten by a read if blocksize < PAGE_SIZE. Now that fuse does iomap read/readahead, this is protected against since there is granular uptodate tracking of blocks, which means this workaround can be removed. Signed-off-by:Joanne Koong <joannelkoong@gmail.com> Tested-by:
<syzbot@syzkaller.appspotmail.com> Reviewed-by:
Darrick J. Wong <djwong@kernel.org> Signed-off-by:
Christian Brauner <brauner@kernel.org>