commit | 16e70f64a9358133a14872eb72cf39b6f38b6212 | [log] [tgz] |
---|---|---|
author | Denis V. Lunev <den@openvz.org> | Tue Apr 29 01:02:16 2008 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Tue Apr 29 08:06:21 2008 -0700 |
tree | 0ed4ea5d67aff278a4e27f0ec6ff7c7f7b2906b6 | |
parent | 659f865ea65a60564ce00a0c571099d1fa55e8e3 [diff] |
samples: use non-racy method for /proc/marker-example creation Use proc_create() to make sure that ->proc_fops be setup before gluing PDE to main tree. Signed-off-by: Denis V. Lunev <den@openvz.org> Cc: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> Cc: Alexey Dobriyan <adobriyan@gmail.com> Cc: "Eric W. Biederman" <ebiederm@xmission.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>