affs: testing the wrong variable
authorDan Carpenter <error27@gmail.com>
Wed, 25 Aug 2010 07:05:27 +0000 (09:05 +0200)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 26 Oct 2010 01:18:20 +0000 (21:18 -0400)
commit0e45b67d5aeb3dcfb6b149cf61c30b9a8e503f74
treed1c46167dcfba40aba0f9d500a05cd8ceec96489
parent7e360c38abe2c70eae3ba5a8a17f17671d8b77c5
affs: testing the wrong variable

The intent was to verify that bh = affs_bread_ino(...) returned a valid
pointer.  We checked "ext_bh" earlier in the function and it's valid
here.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/affs/file.c