Commit 377cb3de authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] ext3: remove duplicated ext3_std_error() call

From: Andi Kleen <ak@muc.de>

When start_transaction() detects an error it already calls ext3_std_error. 
No need to do it again in the caller.
parent ff49aa82
...@@ -205,8 +205,6 @@ void ext3_delete_inode (struct inode * inode) ...@@ -205,8 +205,6 @@ void ext3_delete_inode (struct inode * inode)
* need to make sure that the in-core orphan linked list * need to make sure that the in-core orphan linked list
* is properly cleaned up. */ * is properly cleaned up. */
ext3_orphan_del(NULL, inode); ext3_orphan_del(NULL, inode);
ext3_std_error(inode->i_sb, PTR_ERR(handle));
goto no_delete; goto no_delete;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment