Whamcloud - gitweb
LU-5771 ldiskfs: cleanup orphan inode in error path 49/12349/5
authorWang Shilong <wshilong@ddn.com>
Mon, 20 Oct 2014 12:41:03 +0000 (20:41 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 17 Dec 2014 17:48:02 +0000 (17:48 +0000)
commit2dc56b1132a1680d664e8093a33f5ce799865abb
treef32c4bd00b517a1703aa7ced034362a455fe2486
parent3a63fe4aa37ed72dc2f9a2c85c35035c2c2619ba
LU-5771 ldiskfs: cleanup orphan inode in error path

Commit from upstream: 4538821993f4486c76090dfb377c60c0a0e71ba3

There were some error paths in ext4_delete_inode() which was not
dropping the inode from the orphan list.  This could lead to a BUG_ON
on umount when the orphan list is discovered to be non-empty.

Signed-off-by: Wang Shilong <wshilong@ddn.com>
Change-Id: Ica2c87ae378cc23eed70c1bfeb96db3852d218dc
Reviewed-on: http://review.whamcloud.com/12349
Tested-by: Jenkins
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: James Simmons <uja.ornl@gmail.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
ldiskfs/kernel_patches/patches/rhel6.3/ext4-drop-inode-from-orphan-list-if-ext4_delete_inode-fails.patch [new file with mode: 0644]
ldiskfs/kernel_patches/series/ldiskfs-2.6-rhel6.4.series
ldiskfs/kernel_patches/series/ldiskfs-2.6-rhel6.5.series
ldiskfs/kernel_patches/series/ldiskfs-2.6-rhel6.6.series