summaryrefslogtreecommitdiff
path: root/fs/ocfs2/cluster
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2014-12-10 23:41:42 (GMT)
committerLinus Torvalds <torvalds@linux-foundation.org>2014-12-11 01:41:03 (GMT)
commit4a635a113bfe1eaa184410d6b6065cd8eee13607 (patch)
treecacaeb92ded0b14a914c66150913302c0e712de1 /fs/ocfs2/cluster
parent2b693005b833ba309c7cb8426cd023d8e80da31e (diff)
downloadlinux-4a635a113bfe1eaa184410d6b6065cd8eee13607.tar.xz
ocfs2: remove bogus test from ocfs2_read_locked_inode()
'args' are always set for ocfs2_read_locked_inode() and brelse() checks whether bh is NULL. So the test (args && bh) is unnecessary (plus the args part is really confusing anyway). Remove it. Coverity id: 1128856. Signed-off-by: Jan Kara <jack@suse.cz> 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>
Diffstat (limited to 'fs/ocfs2/cluster')
0 files changed, 0 insertions, 0 deletions