f2fs: release new entry page correctly in error path of f2fs_rename
authorChao Yu <chao2.yu@samsung.com>
Tue, 24 Jun 2014 06:13:13 +0000 (14:13 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 9 Jul 2014 12:59:11 +0000 (05:59 -0700)
commitdd4d961fe7d1cb1cba6e9d8d132475d4917ba864
tree8fe7442657db3cf233b320356148e06b7e0efd86
parent90d72459ccb47335a4348947506fd091e63f7cf8
f2fs: release new entry page correctly in error path of f2fs_rename

This patch correct releasing code of new_page to avoid BUG_ON in error patch of
f2fs_rename.

Signed-off-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/namei.c