ceph: use 2 instead of 1 as fallback for 32-bit inode number
authorAmon Ott <ao@m-privacy.de>
Mon, 23 Jan 2012 17:25:23 +0000 (09:25 -0800)
committerAlex Elder <elder@dreamhost.com>
Thu, 22 Mar 2012 15:47:45 +0000 (10:47 -0500)
commita661fc561190c0ee2d7cfabcfa92204e2b3aa349
tree792088d4d245645d5c91fbb97fd4ee2a43188bd1
parent1ce208a6ce030ea6ccd4b13c8cec0a84c0c7a1e9
ceph: use 2 instead of 1 as fallback for 32-bit inode number

The root directory of the Ceph mount has inode number 1, so falling back
to 1 always creates a collision. 2 is unused on my test systems and seems
less likely to collide.

Signed-off-by: Amon Ott <ao@m-privacy.de>
Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/super.h