]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4009f0f6372a5f2b3adeff7260efeef6dbb25d3e
tree8b8c3615c25acb34349ef3fd7823d4cec5a2f231
parent279aba0eea676a3bd4b4655fb446018742f8186c
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