idr_pre_get always returns 0 (no memory) or 1 (OK). Never a negative value.
So, it must be checked accordingly.
Signed-off-by: Paulo da Silva
---
drivers/block/loop.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
--- linux-3.5-rc6/drivers/block/loop.c.orig 2012-07-08 01:23
idr_pre_get always returns 0 (no memory) or 1 (OK). Never a negative value.
So, it must be checked accordingly.
Signed-off-by: Paulo da Silva psdasi...@yahoo.com
---
drivers/block/loop.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
--- linux-3.5-rc6/drivers/block/loop.c.orig
This is a bug report. Any further information you may need, please let
me know.
I have a separate partition for tests and can generate a special kernel
to obtain any data you may need.
Thanks.
1.
USB subsystem (part of it) hangs
2.
Symptoms (main):
1. My USB wireless card stops working (led
This is a bug report. Any further information you may need, please let
me know.
I have a separate partition for tests and can generate a special kernel
to obtain any data you may need.
Thanks.
1.
USB subsystem (part of it) hangs
2.
Symptoms (main):
1. My USB wireless card stops working (led
4 matches
Mail list logo