From: Sage Weil Date: Fri, 12 Nov 2010 00:48:59 +0000 (-0800) Subject: ceph: fix frag offset for non-leftmost frags X-Git-Tag: v2.6.37-rc3~2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7b88dadc13e0004947de52df128dbd5b0754ed0a;p=pandora-kernel.git ceph: fix frag offset for non-leftmost frags We start at offset 2 for the leftmost frag, and 0 for subsequent frags. When we reach the end (rightmost), we go back to 2. This fixes readdir on fragmented (large) directories. Signed-off-by: Sage Weil --- Reading git-diff-tree failed