ceph: eliminate sparse warnings in fs code
authorAlex Elder <elder@inktank.com>
Tue, 19 Feb 2013 18:25:56 +0000 (12:25 -0600)
committerAlex Elder <elder@inktank.com>
Mon, 25 Feb 2013 21:37:14 +0000 (15:37 -0600)
commit2c3dd4ff595e604cd4c4c51cff7a208f23148c2d
tree1939c63d31082d3d33402657276fffd2d022a847
parentcc344fa1b541b116190291d366583585f03d0fe6
ceph: eliminate sparse warnings in fs code

Fix the causes for sparse warnings reported in the ceph file system
code.  Here there are only two (and they're sort of silly but
they're easy to fix).

This partially resolves:
    http://tracker.ceph.com/issues/4184

Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
fs/ceph/xattr.c