diff options
author | Ilya Dryomov <ilya.dryomov@inktank.com> | 2014-01-28 18:16:18 +0100 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2014-01-28 18:57:21 +0100 |
commit | 125d725c923527a85876c031028c7f55c28b74b3 (patch) | |
tree | ca470b4d6d71254f5becb292d54f223f3c4fc513 /tools/perf/util/svghelper.c | |
parent | ceph: fix dout() compile warnings in ceph_filemap_fault() (diff) | |
download | linux-125d725c923527a85876c031028c7f55c28b74b3.tar.xz linux-125d725c923527a85876c031028c7f55c28b74b3.zip |
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>
Diffstat (limited to 'tools/perf/util/svghelper.c')
0 files changed, 0 insertions, 0 deletions