aboutsummaryrefslogtreecommitdiffstats
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorJohn Kacur <[email protected]>2009-10-11 20:24:25 +0000
committerThomas Gleixner <[email protected]>2009-10-14 15:36:54 +0000
commit55e858c8483af427144f33b42b818b30612b82b0 (patch)
tree300663182d53ca9ae77a54dce06066109e927a8f /net/lapb/lapb_subr.c
parentinifiband: Remove BKL from ipath_open() (diff)
downloadkernel-55e858c8483af427144f33b42b818b30612b82b0.tar.gz
kernel-55e858c8483af427144f33b42b818b30612b82b0.zip
agp: Remove the BKL from agp_open
- Remove the BKL from agp_open - Perform a few clean-ups. Analysis: --------- int minor is local to the function. The following are protected by agp_fe.agp_mutex struct agp_file_private *priv; struct agp_client *client; Call-outs: kzalloc should be safe to call under the mutex_lock agp_find_client_by_pid: - agp_mmap calls that under agp_fe.agp_mutex which we hold in agp_open - agpioc_reserve_wrap calls it without any locking what-so-ever. - Is that an error? Or is that okay because it has pid that is a unique handle? agp_insert_file_private: - This function only manipulates struct agp_file_private, once again while agp_fe.agp_mutex is held Signed-off-by: John Kacur <[email protected]> Acked-by: David Airlie <[email protected]> LKML-Reference: <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions