commit | c33fff0afbef4f0467c99e3f47ee7e98ae78c77e | [log] [tgz] |
---|---|---|
author | Denis V. Lunev <den@openvz.org> | Tue Apr 29 01:02:31 2008 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Tue Apr 29 08:06:22 2008 -0700 |
tree | d6b5f8dc77aa21de95bbca76c6be6056026cc1d8 | |
parent | ac41cfd19bf77424519b962f8205ede51fceaac6 [diff] |
kernel: use non-racy method for proc entries creation Use proc_create()/proc_create_data() to make sure that ->proc_fops and ->data be setup before gluing PDE to main tree. Signed-off-by: Denis V. Lunev <den@openvz.org> Cc: Alexey Dobriyan <adobriyan@gmail.com> Cc: "Eric W. Biederman" <ebiederm@xmission.com> Cc: Ingo Molnar <mingo@elte.hu> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>