summaryrefslogtreecommitdiff
path: root/fs/seq_file.c
diff options
context:
space:
mode:
authorTao Ma <tao.ma@oracle.com>2008-03-05 07:49:55 (GMT)
committerMark Fasheh <mark.fasheh@oracle.com>2008-03-10 22:14:19 (GMT)
commitcdef59a94c2fc962ada379d4240d556db7b56d55 (patch)
tree80abc337bb85896eca55e789f7ebf2c5af4d1fee /fs/seq_file.c
parentc824c3c723f2e37a00b3b739a55b28de595fd72e (diff)
downloadlinux-fsl-qoriq-cdef59a94c2fc962ada379d4240d556db7b56d55.tar.xz
ocfs2: Fix NULL pointer dereferences in o2net
In some situations, ocfs2_set_nn_state might get called with sc = NULL and valid = 0. If sc = NULL, we can't dereference it to get the o2nm_node member. Instead, do what o2net_initialize_handshake does and use NULL when calling o2net_reconnect_delay and o2net_idle_timeout. Signed-off-by: Tao Ma <tao.ma@oracle.com> Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
Diffstat (limited to 'fs/seq_file.c')
0 files changed, 0 insertions, 0 deletions