commit | 125d725c923527a85876c031028c7f55c28b74b3 | [log] [tgz] |
---|---|---|
author | Ilya Dryomov <ilya.dryomov@inktank.com> | Tue Jan 28 19:16:18 2014 +0200 |
committer | Sage Weil <sage@inktank.com> | Tue Jan 28 09:57:21 2014 -0800 |
tree | ca470b4d6d71254f5becb292d54f223f3c4fc513 | |
parent | 37b52fe60838b135913e877b0c849e59fae587c3 [diff] |
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: Ilya Dryomov <ilya.dryomov@inktank.com> Reviewed-by: Sage Weil <sage@inktank.com>