From: Henry C Chang Date: Tue, 1 Jun 2010 18:31:08 +0000 (-0700) Subject: ceph: fix d_subdirs ordering problem X-Git-Tag: v2.6.35-rc3~7^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=13a4214cd9ec14d7b77e98bd3ee51f60f868a6e5;p=pandora-kernel.git ceph: fix d_subdirs ordering problem We misused list_move_tail() to order the dentry in d_subdirs. This will screw up the d_subdirs order. This bug can be reliably reproduced by: 1. mount ceph fs. 2. on ceph fs, git clone git://ceph.newdream.net/git/ceph.git 3. Run autogen.sh in ceph directory. (Note: Errors only occur at the first time you run autogen.sh.) Signed-off-by: Henry C Chang Signed-off-by: Sage Weil --- Reading git-diff-tree failed