]> git.baikalelectronics.ru Git - kernel.git/commit
ocfs2: remove bogus NULL check in ocfs2_move_extents()
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 10 Dec 2014 23:42:04 +0000 (15:42 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 11 Dec 2014 01:41:04 +0000 (17:41 -0800)
commit90a55d6bc3705ed1227a5b6a9dbd1d1717f25f44
tree20fa893c91d7d15bc50265bce8767c1b01043c7a
parent86e75f416ed33fd9f0e686c36a95cd019d35d5ec
ocfs2: remove bogus NULL check in ocfs2_move_extents()

"inode" isn't NULL here, and also we dereference it on the previous line
so static checkers get annoyed.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Cc: Mark Fasheh <mfasheh@suse.com>
Cc: Joel Becker <jlbec@evilplan.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/ocfs2/move_extents.c