[PATCH 0/29] proc entries creation race

From: Denis V. Lunev
Date: Tue Apr 08 2008 - 07:18:20 EST


This set of patches fixes an proc ->open'less usage due to ->proc_fops
flip in the most part of the kernel code. The original OOPS is described
in the commit 2d3a4e3666325a9709cc8ea2e88151394e8f20fc.

In addition to this, proc_create_data is introduced to fix reading from
proc without PDE->data. The race is basically the same as above.

create_proc_entries is replaced in the entire kernel code as new method
is also simply better.

Signed-off-by: Denis V. Lunev <den@xxxxxxxxxx>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/