sys_pciconfig_{read,write}() are protected against PCI removal with the
reference count in struct pci_dev. The concurrency of
pci_user_{read,write}_config_* functions are already protected by pci_lock in
drivers/pci/access.c.
Signed-off-by: Diego Woitasen <[EMAIL PROTECTED]>
---
drive
he present -mm lineup
>
> --
> Subject: loop: use unlocked_ioctl
> From: Andrew Morton <[EMAIL PROTECTED]>
>
> The last lock_kernel() has disappeared from loop.c. Switch it over to using
> unlocked_ioctl.
>
> Cc: Diego Woitas
--
Subject: loop: use unlocked_ioctl
From: Andrew Morton [EMAIL PROTECTED]
The last lock_kernel() has disappeared from loop.c. Switch it over to using
unlocked_ioctl.
Cc: Diego Woitasen [EMAIL PROTECTED]
Cc: Christoph Hellwig [EMAIL PROTECTED]
Signed
sys_pciconfig_{read,write}() are protected against PCI removal with the
reference count in struct pci_dev. The concurrency of
pci_user_{read,write}_config_* functions are already protected by pci_lock in
drivers/pci/access.c.
Signed-off-by: Diego Woitasen [EMAIL PROTECTED]
---
drivers/pci
Signed-off-by: Diego Woitasen <[EMAIL PROTECTED]>
---
drivers/md/dm.c | 10 --
1 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/drivers/md/dm.c b/drivers/md/dm.c
index 141ff9f..aebb207 100644
--- a/drivers/md/dm.c
+++ b/drivers/md/dm.c
@@ -282,17 +282,16 @@ stat
Signed-off-by: Diego Woitasen [EMAIL PROTECTED]
---
drivers/md/dm.c | 10 --
1 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/drivers/md/dm.c b/drivers/md/dm.c
index 141ff9f..aebb207 100644
--- a/drivers/md/dm.c
+++ b/drivers/md/dm.c
@@ -282,17 +282,16 @@ static int
On Mon, Jul 16, 2007 at 08:45:47AM +0400, Alexey Dobriyan wrote:
> On Sun, Jul 15, 2007 at 09:36:59PM -0300, Diego Woitasen wrote:
> > ---
> > include/asm-generic/bug.h | 25 +
> > 1 files changed, 13 insertions(+), 12 deletions(-)
> >
&
On Mon, Jul 16, 2007 at 08:45:47AM +0400, Alexey Dobriyan wrote:
On Sun, Jul 15, 2007 at 09:36:59PM -0300, Diego Woitasen wrote:
---
include/asm-generic/bug.h | 25 +
1 files changed, 13 insertions(+), 12 deletions(-)
diff --git a/include/asm-generic/bug.h b
On Thu, Jul 19, 2007 at 05:42:38PM -0700, Andrew Morton wrote:
> On Sun, 8 Jul 2007 22:55:08 -0300
> Diego Woitasen <[EMAIL PROTECTED]> wrote:
>
> > Signed-off-by: Diego Woitasen <[EMAIL PROTECTED]>
> > ---
> > arch/i386/kernel/ldt.c |2 +-
> &g
On Thu, Jul 19, 2007 at 05:42:38PM -0700, Andrew Morton wrote:
On Sun, 8 Jul 2007 22:55:08 -0300
Diego Woitasen [EMAIL PROTECTED] wrote:
Signed-off-by: Diego Woitasen [EMAIL PROTECTED]
---
arch/i386/kernel/ldt.c |2 +-
arch/x86_64/kernel/ldt.c |2 +-
2 files changed, 2
---
include/asm-generic/bug.h | 25 +
1 files changed, 13 insertions(+), 12 deletions(-)
diff --git a/include/asm-generic/bug.h b/include/asm-generic/bug.h
index 7f30cce..6e49266 100644
--- a/include/asm-generic/bug.h
+++ b/include/asm-generic/bug.h
@@ -8,22 +8,23 @@
---
include/asm-generic/bug.h | 25 +
1 files changed, 13 insertions(+), 12 deletions(-)
diff --git a/include/asm-generic/bug.h b/include/asm-generic/bug.h
index 7f30cce..6e49266 100644
--- a/include/asm-generic/bug.h
+++ b/include/asm-generic/bug.h
@@ -8,22 +8,23 @@
Signed-off-by: Diego Woitasen <[EMAIL PROTECTED]>
---
drivers/block/loop.c |2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/drivers/block/loop.c b/drivers/block/loop.c
index 0ed5470..1cc004e 100644
--- a/drivers/block/loop.c
+++ b/drivers/block/loop.c
@@ -1286,7 +
Signed-off-by: Diego Woitasen <[EMAIL PROTECTED]>
---
arch/i386/kernel/ldt.c |2 +-
arch/x86_64/kernel/ldt.c |2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/i386/kernel/ldt.c b/arch/i386/kernel/ldt.c
index e0b2d17..c2eb4fb 100644
--- a/arch/i386/kernel
ET_STATUS:
mutex_lock(>lo_ctl_mutex);
@@ -1312,7 +1311,6 @@ static long lo_compat_ioctl(struct file *file, unsigned
int cmd, unsigned long a
err = -ENOIOCTLCMD;
break;
}
- unlock_kernel();
return err;
}
#endif
--
----
:
mutex_lock(lo-lo_ctl_mutex);
@@ -1312,7 +1311,6 @@ static long lo_compat_ioctl(struct file *file, unsigned
int cmd, unsigned long a
err = -ENOIOCTLCMD;
break;
}
- unlock_kernel();
return err;
}
#endif
--
--
Diego
Signed-off-by: Diego Woitasen [EMAIL PROTECTED]
---
arch/i386/kernel/ldt.c |2 +-
arch/x86_64/kernel/ldt.c |2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/i386/kernel/ldt.c b/arch/i386/kernel/ldt.c
index e0b2d17..c2eb4fb 100644
--- a/arch/i386/kernel/ldt.c
Signed-off-by: Diego Woitasen [EMAIL PROTECTED]
---
drivers/block/loop.c |2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/drivers/block/loop.c b/drivers/block/loop.c
index 0ed5470..1cc004e 100644
--- a/drivers/block/loop.c
+++ b/drivers/block/loop.c
@@ -1286,7 +1286,6
ET_STATUS:
mutex_lock(>lo_ctl_mutex);
@@ -1312,7 +1311,6 @@ static long lo_compat_ioctl(struct file *file, unsigned
int cmd, unsigned long a
err = -ENOIOCTLCMD;
break;
}
- unlock_kernel();
return err;
}
#endif
--
----
:
mutex_lock(lo-lo_ctl_mutex);
@@ -1312,7 +1311,6 @@ static long lo_compat_ioctl(struct file *file, unsigned
int cmd, unsigned long a
err = -ENOIOCTLCMD;
break;
}
- unlock_kernel();
return err;
}
#endif
--
--
Diego
20 matches
Mail list logo