ceph: fix readdir EOVERFLOW on 32-bit archs
authorSage Weil <sage@newdream.net>
Thu, 18 Nov 2010 17:15:07 +0000 (09:15 -0800)
committerSage Weil <sage@newdream.net>
Thu, 18 Nov 2010 17:15:07 +0000 (09:15 -0800)
commit3105c19c450ac7c18ab28c19d364b588767261b3
tree2b306fb3b8536f5f92f085993bbd966d9eb3929a
parent7b88dadc13e0004947de52df128dbd5b0754ed0a
ceph: fix readdir EOVERFLOW on 32-bit archs

One of the readdir filldir_t callers was passing the raw ceph 64-bit ino
instead of the hashed 32-bit one, producing an EOVERFLOW in the filler
callback.  Fix this by calling the ceph_vino_to_ino() helper to do the
conversion.

Reported-by: Jan Smets <jan.smets@alcatel-lucent.com>
Tested-by: Jan Smets <jan.smets@alcatel-lucent.com>
Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/dir.c