]> git.baikalelectronics.ru Git - kernel.git/commit
nfs: avoid dereferencing null pointer in initiate_bulk_draining
authorNickolai Zeldovich <nickolai@csail.mit.edu>
Sat, 5 Jan 2013 19:19:51 +0000 (14:19 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sat, 5 Jan 2013 19:26:51 +0000 (14:26 -0500)
commit075f0f788845eb2f904869cd2fb8a95bf49f2f23
tree37f71bb68c6a1756f9d8fad5b9798ec81fed49d8
parentbee25e55e465ae0bce9369feef6a76152d1f2f2f
nfs: avoid dereferencing null pointer in initiate_bulk_draining

Fix an inverted null pointer check in initiate_bulk_draining().

Signed-off-by: Nickolai Zeldovich <nickolai@csail.mit.edu>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Cc: stable@vger.kernel.org [>= 3.7]
fs/nfs/callback_proc.c