diff options
author | Denis V. Lunev <den@openvz.org> | 2008-04-29 10:02:17 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-29 17:06:21 +0200 |
commit | a973909fc32be90884280b7a8cd2f2e093c97890 (patch) | |
tree | 32ceca146f9a6de03bb7cf91a141d0f445da04ab /drivers/uio | |
parent | samples: use non-racy method for /proc/marker-example creation (diff) | |
download | linux-a973909fc32be90884280b7a8cd2f2e093c97890.tar.xz linux-a973909fc32be90884280b7a8cd2f2e093c97890.zip |
scsi: use non-racy method for proc entries creation
Use proc_create() to make sure that ->proc_fops be setup before gluing PDE to
main tree.
Add correct ->owner to proc_fops to fix reading/module unloading race.
Signed-off-by: Denis V. Lunev <den@openvz.org>
Cc: Greg Kroah-Hartman <gregkh@suse.de>
Cc: Alexey Dobriyan <adobriyan@gmail.com>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/uio')
0 files changed, 0 insertions, 0 deletions