]> bbs.cooldavid.org Git - net-next-2.6.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)
commitad8453ab0a5b98884074302ba3cc37664791e261
tree3e90b914db42bfa8b476b1d46aef7baee4adebb3
parentac1f12ef569d49b013c3db86e11be7e15d66b1c3
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