Yan, Zheng 4d5f5df673 ceph: fix __dcache_readdir()
If directory is fragmented, readdir() read its dirfrags one by one.
After reading all dirfrags, the corresponding dentries are sorted in
(frag_t, off) order in the dcache. If dentries of a directory are all
cached, __dcache_readdir() can use the cached dentries to satisfy
readdir syscall. But when checking if a given dentry is after the
position of readdir, __dcache_readdir() compares numerical value of
frag_t directly. This is wrong, it should use ceph_frag_compare().

Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
2014-02-17 12:37:13 -08:00
..
2014-02-17 12:37:13 -08:00
2014-01-29 16:05:28 -08:00
2012-05-16 14:28:27 -05:00
2013-12-31 20:32:01 +02:00
2013-12-31 20:32:01 +02:00
2013-05-01 21:20:09 -07:00
2014-01-21 13:29:33 +08:00
2014-02-17 12:37:10 -08:00