From cf1776a9e834400ed8e2fea48ffa6daa9da28446 Mon Sep 17 00:00:00 2001 From: Joseph Qi Date: Wed, 24 Jun 2015 16:54:59 -0700 Subject: [PATCH] ocfs2: fix a tiny race when truncate dio orohaned entry Once dio crashed it will leave an entry in orphan dir. And orphan scan will take care of the clean up. There is a tiny race case that the same entry will be truncated twice and then trigger the BUG in ocfs2_del_inode_from_orphan. Signed-off-by: Joseph Qi Cc: Mark Fasheh Cc: Joel Becker Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-format-patch failed