summaryrefslogtreecommitdiffstats
path: root/drivers/net/irda
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@redhat.com>2007-10-08 00:06:32 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-10 16:54:49 -0700
commit14e3e07979c4384e45e751882292d3b38477e855 (patch)
treea99004a45287f943ffa69428ceb0d516f1bc9458 /drivers/net/irda
parentcfcabdcc2d5a810208e5bb3974121b7ed60119aa (diff)
downloadlinux-14e3e07979c4384e45e751882292d3b38477e855.tar.bz2
[NET]: split dev_ifsioc() according to locking
This always bugged me: dev_ioctl() called dev_ifsioc() either inside read_lock(dev_base_lock) or rtnl_lock(), depending on the ioctl being executed. This change moves the ioctls executed inside dev_base_lock to a new function, dev_ifsioc_locked(). Now the locking context is completely clear to the reader. Signed-off-by: Jeff Garzik <jgarzik@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/irda')
0 files changed, 0 insertions, 0 deletions