ceph: fix dout() compile warnings in ceph_filemap_fault()
authorIlya Dryomov <ilya.dryomov@inktank.com>
Tue, 28 Jan 2014 16:29:29 +0000 (18:29 +0200)
committerSage Weil <sage@inktank.com>
Tue, 28 Jan 2014 17:57:06 +0000 (09:57 -0800)
commit37b52fe60838b135913e877b0c849e59fae587c3
tree8b8c3615c25acb34349ef3fd7823d4cec5a2f231
parent80e163a58c0c69ef1a0ba3500d9932b14d67bf64
ceph: fix dout() compile warnings in ceph_filemap_fault()

PAGE_CACHE_SIZE is unsigned long on all architectures, however size_t
is either unsigned int or unsigned long.  Rather than change format
strings, cast PAGE_CACHE_SIZE to size_t to be in line with dout()s in
ceph_page_mkwrite().

Cc: Yan, Zheng <zheng.z.yan@intel.com>
Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
fs/ceph/addr.c