[PATCH] Fix ext3_new_inode() failure paths
authorChris Sykes <chris@sigsegv.plus.com>
Wed, 28 Sep 2005 04:45:23 +0000 (21:45 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 28 Sep 2005 14:46:40 +0000 (07:46 -0700)
commitdc7b5fd6b0d3beb41f9e5e3a94dd1eadf52209f3
tree4ec658a634151c19af2f9b2b184aaa22949ef1a3
parent9ed6c2fb34a1fb493caec8a9644d05bb880a6923
[PATCH] Fix ext3_new_inode() failure paths

Fix failure paths in ext3_new_inode() and clean up duplicated code: -
DQUOT_DROP() was not being called if ext3_init_security() failed.

Signed-off-by: Chris Sykes <chris@sigsegv.plus.com>
Cc: Stephen Smalley <sds@epoch.ncsc.mil>
Cc: Jan Kara <jack@ucw.cz>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/ext3/ialloc.c