mirror of
https://github.com/torvalds/linux.git
synced 2026-11-29 10:07:52 +00:00
If mounted with sparseread option, ceph_direct_read_write() ends up
making an unnecessarily allocation for O_DIRECT writes.
Fixes: 03bc06c7b0 ("ceph: add new mount option to enable sparse reads")
Signed-off-by: Ilya Dryomov <[email protected]>
Reviewed-by: Alex Markuze <[email protected]>