]> git.baikalelectronics.ru Git - kernel.git/commit
ceph: Fix warnings
authorAlan Cox <alan@linux.intel.com>
Wed, 25 Aug 2010 12:26:32 +0000 (13:26 +0100)
committerSage Weil <sage@newdream.net>
Wed, 25 Aug 2010 19:02:14 +0000 (12:02 -0700)
commit424645a3c183a2798446e9d942cb81c045411a48
tree3e90b914db42bfa8b476b1d46aef7baee4adebb3
parent8569834fecdb40d410b1c89bfbc6f8e5857865eb
ceph: Fix warnings

Just scrubbing some warnings so I can see real problem ones in the build
noise. For 32bit we need to coax gcc politely into believing we really
honestly intend to the casts. Using (u64)(unsigned long) means we cast from
a pointer to a type of the right size and then extend it. This stops the
warning spew.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/locks.c