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

No differences found