From: Jaegeuk Kim Date: Fri, 5 Jul 2013 08:28:12 +0000 (+0900) Subject: f2fs: fix readdir incorrectness X-Git-Tag: v3.11-rc1~74^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=99b072bb38c9b398bc7c3fc8a0f30d0801f78750;p=pandora-kernel.git f2fs: fix readdir incorrectness In the previous Al Viro's readdir patch set, there occurs a bug when running xfstest: 006 as follows. [Error output] alpha size = 4, name length = 6, total files = 4096, nproc=1 1023 files created rm: cannot remove `/mnt/f2fs/permname.15150/a': Directory not empty [Correct output] alpha size = 4, name length = 6, total files = 4096, nproc=1 4097 files created This bug is due to the misupdate of directory position in ctx. So, this patch fixes this. [AV: fixed a braino] CC: Al Viro Signed-off-by: Jaegeuk Kim Signed-off-by: Al Viro --- Reading git-diff-tree failed