ceph: fix reset_readdir()
authorYan, Zheng <zheng.z.yan@intel.com>
Fri, 28 Feb 2014 08:36:09 +0000 (16:36 +0800)
committerYan, Zheng <zheng.z.yan@intel.com>
Thu, 3 Apr 2014 02:33:52 +0000 (10:33 +0800)
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>
fs/ceph/dir.c

diff --cc fs/ceph/dir.c
Simple merge