]> bbs.cooldavid.org Git - net-next-2.6.git/commit
ext4: drop inode from orphan list if ext4_delete_inode() fails
authorTheodore Ts'o <tytso@mit.edu>
Thu, 29 Jul 2010 19:06:10 +0000 (15:06 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 29 Jul 2010 19:06:10 +0000 (15:06 -0400)
commit4538821993f4486c76090dfb377c60c0a0e71ba3
treed196075a963896c25df9ceb983a19ce82f5eab9b
parentf613dfcb3345dacb8cf99b7bb359acc1c18a1157
ext4: drop inode from orphan list if ext4_delete_inode() fails

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: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/inode.c