]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] Fix ext2_new_inode() failure paths
authorChris Sykes <chris@sigsegv.plus.com>
Wed, 28 Sep 2005 04:45:22 +0000 (21:45 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 28 Sep 2005 14:46:40 +0000 (07:46 -0700)
commit9ed6c2fb34a1fb493caec8a9644d05bb880a6923
tree17dddf69de7c856a1f8d81a8a8709bc1640aecf5
parentee4e52719ce474af339f4b81ece2ce9ecf920dfd
[PATCH] Fix ext2_new_inode() failure paths

Fix failure paths in ext2_new_inode() and clean up duplicated code: -
DQUOT_DROP() was not being called if ext2_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/ext2/ialloc.c