ceph: fix reset_readdir()

When changing readdir postion, fi->next_offset should be set to 0
if the new postion is not in the first dirfrag.

Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
Reviewed-by: Alex Elder <elder@linaro.org>
This commit is contained in:
Yan, Zheng 2014-02-28 16:36:09 +08:00
commit dcd3cc05e5