[PATCH 2/3] f2fs: avoid abnormal behavior on broken symlink

2015-04-16 Thread Jaegeuk Kim
When f2fs_symlink was triggered and checkpoint was done before syncing its link path, f2fs can get broken symlink like "xxx -> \0\0\0". This incurs abnormal path_walk by VFS. Signed-off-by: Jaegeuk Kim --- fs/f2fs/namei.c | 20 +++- 1 file changed, 19 insertions(+), 1

[PATCH 2/3] f2fs: avoid abnormal behavior on broken symlink

2015-04-16 Thread Jaegeuk Kim
When f2fs_symlink was triggered and checkpoint was done before syncing its link path, f2fs can get broken symlink like xxx - \0\0\0. This incurs abnormal path_walk by VFS. Signed-off-by: Jaegeuk Kim jaeg...@kernel.org --- fs/f2fs/namei.c | 20 +++- 1 file changed, 19