[PATCH 1/2] f2fs: release new entry page correctly in error path of f2fs_rename

2014-06-24 Thread Chao Yu
This patch correct releasing code of new_page to avoid BUG_ON in error patch of f2fs_rename. Signed-off-by: Chao Yu --- fs/f2fs/namei.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fs/f2fs/namei.c b/fs/f2fs/namei.c index 0d55517..f17e34c 100644 --- a/fs/f2fs/namei.c

[PATCH 1/2] f2fs: release new entry page correctly in error path of f2fs_rename

2014-06-24 Thread Chao Yu
This patch correct releasing code of new_page to avoid BUG_ON in error patch of f2fs_rename. Signed-off-by: Chao Yu chao2...@samsung.com --- fs/f2fs/namei.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fs/f2fs/namei.c b/fs/f2fs/namei.c index 0d55517..f17e34c 100644