summaryrefslogtreecommitdiff
path: root/drivers/hotplug
diff options
context:
space:
mode:
authorAlexander Viro <viro@math.psu.edu>2002-02-12 20:31:05 -0800
committerLinus Torvalds <torvalds@home.transmeta.com>2002-02-12 20:31:05 -0800
commitccc1d4a629be3074467f9f9113c36ed40ecbc883 (patch)
treeeb33e788be8c232ed5105cc2b64437ae3bca1102 /drivers/hotplug
parent467ae2e994ef86f1826062209776841ecb5eb61a (diff)
[PATCH] BKL shifted into ->create()
BKL shifted into ->create(). lock_kernel()/unlock_kernel() added in dquot_{alloc,free}_inode() - that makes {ext2,minix,sysv,ufs}_read_inode() SMP-safe.
Diffstat (limited to 'drivers/hotplug')
-rw-r--r--drivers/hotplug/pci_hotplug_core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hotplug/pci_hotplug_core.c b/drivers/hotplug/pci_hotplug_core.c
index b5996dce94c1..979bd8d6537c 100644
--- a/drivers/hotplug/pci_hotplug_core.c
+++ b/drivers/hotplug/pci_hotplug_core.c
@@ -130,6 +130,7 @@ static struct inode *pcihpfs_get_inode (struct super_block *sb, int mode, int de
return inode;
}
+/* SMP-safe */
static int pcihpfs_mknod (struct inode *dir, struct dentry *dentry, int mode, int dev)
{
struct inode *inode = pcihpfs_get_inode(dir->i_sb, mode, dev);