diff options
author | Jaegeuk Kim <jaegeuk.kim@samsung.com> | 2013-07-05 17:28:12 +0900 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-07-08 13:35:48 +0400 |
commit | 99b072bb38c9b398bc7c3fc8a0f30d0801f78750 (patch) | |
tree | 0162568c00d24d580c1ed61963eb00b9025bc685 /fs/seq_file.c | |
parent | 3de91f92377f1477c88a58bcad5b5615ffc4aad5 (diff) | |
download | lwn-99b072bb38c9b398bc7c3fc8a0f30d0801f78750.tar.gz lwn-99b072bb38c9b398bc7c3fc8a0f30d0801f78750.zip |
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 <viro@zeniv.linux.org.uk>
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/seq_file.c')
0 files changed, 0 insertions, 0 deletions