]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mempool_alloc can't fail if __GFP_WAIT is specified, so the condition
authorMikulas Patocka <mpatocka@redhat.com>
Wed, 24 Oct 2012 23:11:18 +0000 (10:11 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 24 Oct 2012 23:11:18 +0000 (10:11 +1100)
commit4e2029ae3580afe49e9cc378ff63e93617a4ca41
tree93135c1f1eeda8fb4215873d584fde7a5f9977cc
parent1a9f431dcf2ac0c7bbd65156188cdf9a81b4853e
mempool_alloc can't fail if __GFP_WAIT is specified, so the condition
that tests if read_record is non-NULL is always true.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-raid1.c