]> bbs.cooldavid.org Git - net-next-2.6.git/commit
ocfs2/cluster: Get rid of arguments to the timeout routines
authorJeff Mahoney <jeffm@suse.com>
Fri, 28 Mar 2008 23:44:13 +0000 (16:44 -0700)
committerMark Fasheh <mfasheh@suse.com>
Fri, 18 Apr 2008 15:56:12 +0000 (08:56 -0700)
commit409753bf6da4a2db038027471abaf324e063db2f
tree3f59dcf8949aa09585837138fcd8dd76b97fcd23
parentdda47bce91b8624ef0806f7f8157ffc91e153c9d
ocfs2/cluster: Get rid of arguments to the timeout routines

We keep seeing bug reports related to NULL pointer derefs in
o2net_set_nn_state(). When I originally wrote up the configurable timeout
patch, I had tried to plan for multiple clusters. This was silly.

The timeout routines all use o2nm_single_cluster so there's no point in
passing an argument at all. This patch removes the arguments and kills those
bugs dead.

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
fs/ocfs2/cluster/tcp.c