commit | cdefa185dda6b2b267f088a7477e96d845bdc6c1 | [log] [tgz] |
---|---|---|
author | Denis V. Lunev <den@openvz.org> | Tue Apr 29 01:02:19 2008 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Tue Apr 29 08:06:21 2008 -0700 |
tree | 95447a4c46352d6a353074873c11446e7c3c657f | |
parent | a973909fc32be90884280b7a8cd2f2e093c97890 [diff] |
usb: 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> Acked-by: Greg Kroah-Hartman <gregkh@suse.de> 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>