From: David Moore Date: Mon, 8 Jun 2015 15:59:12 +0000 (-0400) Subject: ext4: BUG_ON assertion repeated for inode1, not done for inode2 X-Git-Tag: omap-for-v4.2/fixes-rc1^2~122^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8bc3b1e6e8fdc1c605c06c027d999b5cca434779;p=pandora-kernel.git ext4: BUG_ON assertion repeated for inode1, not done for inode2 During a source code review of fs/ext4/extents.c I noted identical consecutive lines. An assertion is repeated for inode1 and never done for inode2. This is not in keeping with the rest of the code in the ext4_swap_extents function and appears to be a bug. Assert that the inode2 mutex is not locked. Signed-off-by: David Moore Signed-off-by: Theodore Ts'o Reviewed-by: Eric Sandeen --- Reading git-diff-tree failed