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)
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

diff --cc fs/ceph/locks.c
Simple merge