From: Glauber de Oliveira Costa Date: Mon, 28 Nov 2005 21:44:02 +0000 (-0800) Subject: [PATCH] ext3: Wrong return value for EXT3_IOC_GROUP_ADD X-Git-Tag: v2.6.15-rc3~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aa877b3dc9f2a1fdffac4ea36bee97c21db11a69;p=pandora-kernel.git [PATCH] ext3: Wrong return value for EXT3_IOC_GROUP_ADD This patch corrects the return value for the EXT3_IOC_GROUP_ADD in case it fails due to the presence of multiple resizers at the filesystem. The problem is a little bit more serious than a wrong return value in this case, since the clause err=0 in the exit_journal path will lead to a call to update_backups which in turns causes a NULL pointer dereference. Signed-off-by: Glauber de Oliveira Costa Cc: "Stephen C. Tweedie" Cc: Andreas Dilger Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed