From: Ilya Dryomov Date: Tue, 28 Jan 2014 17:16:18 +0000 (+0200) Subject: ceph: cast PAGE_SIZE to size_t in ceph_sync_write() X-Git-Tag: v3.14-rc1~71^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=125d725c923527a85876c031028c7f55c28b74b3;p=pandora-kernel.git 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 Signed-off-by: Ilya Dryomov Reviewed-by: Sage Weil --- Reading git-diff-tree failed