Files
linux/fs/ocfs2
Guozhonghua c88edc0936 ocfs2: unlock inode if deleting inode from orphan fails
commit a4a8481ff6 upstream.

When doing append direct io cleanup, if deleting inode fails, it goes
out without unlocking inode, which will cause the inode deadlock.

This issue was introduced by commit cf1776a9e8 ("ocfs2: fix a tiny
race when truncate dio orohaned entry").

Signed-off-by: Guozhonghua <guozhonghua@h3c.com>
Signed-off-by: Joseph Qi <joseph.qi@huawei.com>
Reviewed-by: Gang He <ghe@suse.com>
Cc: Mark Fasheh <mfasheh@suse.de>
Cc: Joel Becker <jlbec@evilplan.org>
Cc: Junxiao Bi <junxiao.bi@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-03-03 15:07:10 -08:00
..
2015-07-09 11:42:21 -07:00
2015-12-29 17:45:49 -08:00
2014-01-21 16:19:41 -08:00
2015-12-12 10:15:34 -08:00
2015-09-04 16:54:41 -07:00
2012-05-29 23:28:40 -04:00