diff options
| author | Christoph Hellwig <[email protected]> | 2019-12-04 17:33:52 +0000 |
|---|---|---|
| committer | Darrick J. Wong <[email protected]> | 2019-12-04 17:33:52 +0000 |
| commit | 1cea335d1db1ce6ab71b3d2f94a807112b738a0f (patch) | |
| tree | df6798762ba98921119a17925a84b3989fbca17d /net/unix | |
| parent | iomap: remove unneeded variable in iomap_dio_rw() (diff) | |
| download | kernel-1cea335d1db1ce6ab71b3d2f94a807112b738a0f.tar.gz kernel-1cea335d1db1ce6ab71b3d2f94a807112b738a0f.zip | |
iomap: fix sub-page uptodate handling
bio completions can race when a page spans more than one file system
block. Add a spinlock to synchronize marking the page uptodate.
Fixes: 9dc55f1389f9 ("iomap: add support for sub-pagesize buffered I/O without buffer heads")
Reported-by: Jan Stancek <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Dave Chinner <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
Signed-off-by: Darrick J. Wong <[email protected]>
Diffstat (limited to 'net/unix')
0 files changed, 0 insertions, 0 deletions
