diff options
| author | Ilya Dryomov <[email protected]> | 2014-01-28 17:16:18 +0000 |
|---|---|---|
| committer | Sage Weil <[email protected]> | 2014-01-28 17:57:21 +0000 |
| commit | 125d725c923527a85876c031028c7f55c28b74b3 (patch) | |
| tree | ca470b4d6d71254f5becb292d54f223f3c4fc513 /lib/genalloc.c | |
| parent | ceph: fix dout() compile warnings in ceph_filemap_fault() (diff) | |
| download | kernel-125d725c923527a85876c031028c7f55c28b74b3.tar.gz kernel-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 <[email protected]>
Signed-off-by: Ilya Dryomov <[email protected]>
Reviewed-by: Sage Weil <[email protected]>
Diffstat (limited to 'lib/genalloc.c')
0 files changed, 0 insertions, 0 deletions
