]> git.karo-electronics.de Git - karo-tx-linux.git/commit
sunrpc/cache: use list_del_init for the list_head entries in cache_deferred_req
authorNeilBrown <neilb@suse.de>
Wed, 9 Sep 2009 06:32:54 +0000 (16:32 +1000)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Fri, 18 Sep 2009 15:47:49 +0000 (11:47 -0400)
commit67e7328f1577230ef3a1430c1a7e5c07978c6e51
tree6b160d46c8bfbc5b04b4d532f0ad99067feab49e
parentc0826574ddc0df486ecfc2d655e08904c6513209
sunrpc/cache: use list_del_init for the list_head entries in cache_deferred_req

Using list_del_init is generally safer than list_del, and it will
allow us, in a subsequent patch, to see if an entry has already been
processed or not.

Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
net/sunrpc/cache.c