Skip to content
Commit 125d725c authored by Ilya Dryomov's avatar Ilya Dryomov Committed by Sage Weil
Browse files

ceph: cast PAGE_SIZE to size_t in ceph_sync_write()



Use min_t(size_t, ...) instead of plain min(), which does strict type
checking, to avoid compile warning on i386.

Cc: Jianpeng Ma <majianpeng@gmail.com>
Signed-off-by: default avatarIlya Dryomov <ilya.dryomov@inktank.com>
Reviewed-by: default avatarSage Weil <sage@inktank.com>
parent 37b52fe6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment