ceph: change dentry offset and position after splice_dentry
authorYehuda Sadeh <yehuda@hq.newdream.net>
Thu, 7 Jan 2010 23:36:32 +0000 (15:36 -0800)
committerSage Weil <sage@newdream.net>
Thu, 14 Jan 2010 20:23:14 +0000 (12:23 -0800)
commit4baa75ef0ed29adae03fcbbaa9aca1511a5a8cc9
treef3ba17caa2a8738eff064b611c1d7bb0610f3037
parent6a4ef48103a78a46b80e07fcd8ac4edda0c7128f
ceph: change dentry offset and position after splice_dentry

This fixes a bug, where we had the parent list have dentries with
offsets that are not monotonically increasing, which caused the ceph
dcache_readdir to skip entries.

Signed-off-by: Yehuda Sadeh <yehuda@hq.newdream.net>
Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/inode.c