From: Dmitry Monakhov Date: Tue, 2 Mar 2010 04:29:39 +0000 (-0500) Subject: ext4: Handle non empty on-disk orphan link X-Git-Tag: v2.6.34-rc1~199^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6e3617e579e070d3655a93ee9ed7149113e795e0;p=pandora-kernel.git ext4: Handle non empty on-disk orphan link In case of truncate errors we explicitly remove inode from in-core orphan list via orphan_del(NULL, inode) without modifying the on-disk list. But later on, the same inode may be inserted in the orphan list again which will result the on-disk linked list getting corrupted. If inode i_dtime contains valid value, then skip on-disk list modification. Signed-off-by: Dmitry Monakhov Signed-off-by: "Theodore Ts'o" --- Reading git-diff-tree failed