From: Dmitry Monakhov Date: Tue, 2 Mar 2010 04:14:36 +0000 (-0500) Subject: ext4: fix error handling in migrate X-Git-Tag: v2.6.34-rc1~199^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f39490bcd1691d65dc33689222a12e1fc13dd824;p=pandora-kernel.git ext4: fix error handling in migrate Set i_nlink to zero for temporary inode from very beginning. otherwise we may fail to start new journal handle and this inode will be unreferenced but with i_nlink == 1 Since we hold inode reference it can not be pruned. Also add missed journal_start retval check. Signed-off-by: Dmitry Monakhov Signed-off-by: "Theodore Ts'o" --- Reading git-diff-tree failed