]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/log
linux-2.6-omap-h63xx.git
17 years agodm exception store: refactor zero_area
Alasdair G Kergon [Tue, 21 Oct 2008 16:44:55 +0000 (17:44 +0100)]
dm exception store: refactor zero_area

Use a separate buffer for writing zeroes to the on-disk snapshot
exception store, make the updating of ps->current_area explicit and
refactor the code in preparation for the fix in the next patch.

No functional change.

Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Cc: stable@kernel.org
17 years agodm snapshot: drop unused last_percent
Mikulas Patocka [Tue, 21 Oct 2008 16:44:53 +0000 (17:44 +0100)]
dm snapshot: drop unused last_percent

The last_percent field is unused - remove it.
(It dates from when events were triggered as each X% filled up.)

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
17 years agodm snapshot: fix primary_pe race
Mikulas Patocka [Tue, 21 Oct 2008 16:44:51 +0000 (17:44 +0100)]
dm snapshot: fix primary_pe race

Fix a race condition with primary_pe ref_count handling.

put_pending_exception runs under dm_snapshot->lock, it does atomic_dec_and_test
on primary_pe->ref_count, and later does atomic_read primary_pe->ref_count.

__origin_write does atomic_dec_and_test on primary_pe->ref_count without holding
dm_snapshot->lock.

This opens the following race condition:
Assume two CPUs, CPU1 is executing put_pending_exception (and holding
dm_snapshot->lock). CPU2 is executing __origin_write in parallel.
primary_pe->ref_count == 2.

CPU1:
if (primary_pe && atomic_dec_and_test(&primary_pe->ref_count))
origin_bios = bio_list_get(&primary_pe->origin_bios);
... decrements primary_pe->ref_count to 1. Doesn't load origin_bios

CPU2:
if (first && atomic_dec_and_test(&primary_pe->ref_count)) {
flush_bios(bio_list_get(&primary_pe->origin_bios));
free_pending_exception(primary_pe);
/* If we got here, pe_queue is necessarily empty. */
return r;
}
... decrements primary_pe->ref_count to 0, submits pending bios, frees
primary_pe.

CPU1:
if (!primary_pe || primary_pe != pe)
free_pending_exception(pe);
... this has no effect.
if (primary_pe && !atomic_read(&primary_pe->ref_count))
free_pending_exception(primary_pe);
... sees ref_count == 0 (written by CPU 2), does double free !!

This bug can happen only if someone is simultaneously writing to both the
origin and the snapshot.

If someone is writing only to the origin, __origin_write will submit kcopyd
request after it decrements primary_pe->ref_count (so it can't happen that the
finished copy races with primary_pe->ref_count decrementation).

If someone is writing only to the snapshot, __origin_write isn't invoked at all
and the race can't happen.

The race happens when someone writes to the snapshot --- this creates
pending_exception with primary_pe == NULL and starts copying. Then, someone
writes to the same chunk in the snapshot, and __origin_write races with
termination of already submitted request in pending_complete (that calls
put_pending_exception).

This race may be reason for bugs:
  http://bugzilla.kernel.org/show_bug.cgi?id=11636
  https://bugzilla.redhat.com/show_bug.cgi?id=465825

The patch fixes the code to make sure that:
1. If atomic_dec_and_test(&primary_pe->ref_count) returns false, the process
must no longer dereference primary_pe (because someone else may free it under
us).
2. If atomic_dec_and_test(&primary_pe->ref_count) returns true, the process
is responsible for freeing primary_pe.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Cc: stable@kernel.org
17 years agodm kcopyd: avoid queue shuffle
Kazuo Ito [Tue, 21 Oct 2008 16:44:50 +0000 (17:44 +0100)]
dm kcopyd: avoid queue shuffle

Write throughput to LVM snapshot origin volume is an order
of magnitude slower than those to LV without snapshots or
snapshot target volumes, especially in the case of sequential
writes with O_SYNC on.

The following patch originally written by Kevin Jamieson and
Jan Blunck and slightly modified for the current RCs by myself
tries to improve the performance by modifying the behaviour
of kcopyd, so that it pushes back an I/O job to the head of
the job queue instead of the tail as process_jobs() currently
does when it has to wait for free pages. This way, write
requests aren't shuffled to cause extra seeks.

I tested the patch against 2.6.27-rc5 and got the following results.
The test is a dd command writing to snapshot origin followed by fsync
to the file just created/updated.  A couple of filesystem benchmarks
gave me similar results in case of sequential writes, while random
writes didn't suffer much.

dd if=/dev/zero of=<somewhere on snapshot origin> bs=4096 count=...
   [conv=notrunc when updating]

1) linux 2.6.27-rc5 without the patch, write to snapshot origin,
average throughput (MB/s)
                     10M     100M    1000M
create,dd         511.46   610.72    11.81
create,dd+fsync     7.10     6.77     8.13
update,dd         431.63   917.41    12.75
update,dd+fsync     7.79     7.43     8.12

compared with write throughput to LV without any snapshots,
all dd+fsync and 1000 MiB writes perform very poorly.

                     10M     100M    1000M
create,dd         555.03   608.98   123.29
create,dd+fsync   114.27    72.78    76.65
update,dd         152.34  1267.27   124.04
update,dd+fsync   130.56    77.81    77.84

2) linux 2.6.27-rc5 with the patch, write to snapshot origin,
average throughput (MB/s)

                     10M     100M    1000M
create,dd         537.06   589.44    46.21
create,dd+fsync    31.63    29.19    29.23
update,dd         487.59   897.65    37.76
update,dd+fsync    34.12    30.07    26.85

Although still not on par with plain LV performance -
cannot be avoided because it's copy on write anyway -
this simple patch successfully improves throughtput
of dd+fsync while not affecting the rest.

Signed-off-by: Jan Blunck <jblunck@suse.de>
Signed-off-by: Kazuo Ito <ito.kazuo@oss.ntt.co.jp>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Cc: stable@kernel.org
17 years agoV4L/DVB (9336): cx88: always de-alloc frontends on fault condition
Darron Broad [Tue, 21 Oct 2008 14:47:50 +0000 (11:47 -0300)]
V4L/DVB (9336): cx88: always de-alloc frontends on fault condition

De-alloc frontends on fault condition.

Signed-off-by: Darron Broad <darron@kewl.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
17 years agoV4L/DVB (9335): videobuf: split unregister bus creating self-contained frontend de...
Darron Broad [Tue, 21 Oct 2008 14:28:46 +0000 (11:28 -0300)]
V4L/DVB (9335): videobuf: split unregister bus creating self-contained frontend de-allocator

This creates a self contained frontend de-allocator
for the instances where an adapter has not been
registered yet frontend de-allocation may
be required.

Signed-off-by: Darron Broad <darron@kewl.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
17 years agoV4L/DVB (9334): cx88: dvb_remove debug output
Darron Broad [Tue, 21 Oct 2008 14:18:47 +0000 (11:18 -0300)]
V4L/DVB (9334): cx88: dvb_remove debug output

Add debug output for dvb_remove enter.

Signed-off-by: Darron Broad <darron@kewl.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
17 years agoV4L/DVB (9333): cx88: Not all boards that requires cx88-mpeg has frontends
Mauro Carvalho Chehab [Tue, 21 Oct 2008 13:43:10 +0000 (10:43 -0300)]
V4L/DVB (9333): cx88: Not all boards that requires cx88-mpeg has frontends

The multifrontend changes on cx88 assumed that all boards that use cx88-mpeg
supports DVB. This is not true. There also a few analog-only boards based on
Blackboard design that also uses cx88-mpeg. For those boards, there's no need
to allocate dvb frontends.

This patch fixes videobuf allocation for those devices.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
17 years agoV4L/DVB (9332): cx88: initial fix for analogue only compilation
Darron Broad [Tue, 21 Oct 2008 13:42:00 +0000 (10:42 -0300)]
V4L/DVB (9332): cx88: initial fix for analogue only compilation

Initial fix for when analogue only is selected
for compilation (ie, !CX88_DVB)

Signed-off-by: Darron Broad <darron@kewl.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
17 years agoV4L/DVB (9331): Remove unused inode parameter from video_ioctl2
Mauro Carvalho Chehab [Tue, 21 Oct 2008 14:58:39 +0000 (11:58 -0300)]
V4L/DVB (9331): Remove unused inode parameter from video_ioctl2

inode is never used on video_ioctl2. Remove it and rename the function to
__video_ioctl2. This allows its usage directly as a callback at
fops.unlocked_ioctl.

Since we still need a callback with inode to be used with fops.ioctl,
this patch adds video_ioctl2() that is just a call to __video_ioctl2().

Also, this patch adds some comments about video_ioctl2 and __video_ioctl2
usage at v4l2-ioctl.h.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
17 years agoV4L/DVB (9330): Get rid of inode parameter at v4l_compat_translate_ioctl()
Mauro Carvalho Chehab [Tue, 21 Oct 2008 14:27:20 +0000 (11:27 -0300)]
V4L/DVB (9330): Get rid of inode parameter at v4l_compat_translate_ioctl()

The inode parameter at v4l_compat_translate_ioctl() were just passed over several
places just to keep compatible with fops.ioctl. However, it weren't used anywere.

This patch gets hid of this unused parameter.

Cc: Laurent Pinchart <laurent.pinchart@skynet.be>
Cc: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
17 years agoV4L/DVB (9328): ivtvfb: FB_BLANK_POWERDOWN turns off video output
Ian Armstrong [Sun, 19 Oct 2008 21:58:26 +0000 (18:58 -0300)]
V4L/DVB (9328): ivtvfb: FB_BLANK_POWERDOWN turns off video output

When using FBIOBLANK, FB_BLANK_POWERDOWN will now switch off the video output.
Since some televisions turn themselves off after a while with no signal, this
is the closest we can get to power-saving.

Signed-off-by: Ian Armstrong <ian@iarmst.demon.co.uk>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
17 years agoV4L/DVB (9327): v4l: use video_device.num instead of minor in video%d
Hans Verkuil [Sun, 19 Oct 2008 21:54:26 +0000 (18:54 -0300)]
V4L/DVB (9327): v4l: use video_device.num instead of minor in video%d

The kernel number of a v4l2 node (e.g. videoX, radioX or vbiX) is now
independent of the minor number. So instead of using the minor field
of the video_device struct one has to use the num field: this always
contains the kernel number of the device node.

I forgot about this when I did the v4l2 core change, so this patch
converts all drivers that use it in one go. Luckily the change is
trivial.

Cc: michael@mihu.de
Cc: mchehab@infradead.org
Cc: corbet@lwn.net
Cc: luca.risolia@studio.unibo.it
Cc: isely@pobox.com
Cc: pe1rxq@amsat.org
Cc: royale@zerezo.com
Cc: mkrufky@linuxtv.org
Cc: stoth@linuxtv.org
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
17 years agoV4L/DVB (9326): ivtv: avoid green flashing when loading ivtv
Martin Dauskardt [Sat, 18 Oct 2008 17:59:09 +0000 (14:59 -0300)]
V4L/DVB (9326): ivtv: avoid green flashing when loading ivtv

When loading ivtv the TV-out of the PVR-350 will flash green since the
saa712x is activated before the MPEG decoder has been initialized.

Deactivate the saa712x until the MPEG decoder has been initialized.

Signed-off-by: Martin Dauskardt <martin.dauskardt@gmx.de>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
17 years agoV4L/DVB (9325): ivtv: switch to unlocked_ioctl.
Hans Verkuil [Sat, 18 Oct 2008 16:42:24 +0000 (13:42 -0300)]
V4L/DVB (9325): ivtv: switch to unlocked_ioctl.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
17 years agoV4L/DVB (9324): v4l2: add video_ioctl2_unlocked for unlocked_ioctl support.
Hans Verkuil [Sat, 18 Oct 2008 16:39:53 +0000 (13:39 -0300)]
V4L/DVB (9324): v4l2: add video_ioctl2_unlocked for unlocked_ioctl support.

Based on an older patch from Sakari Ailus.

Cc: Sakari Ailus <sakari.ailus@nokia.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
17 years agoV4L/DVB (9323): v4l2-int-if: Add enum_framesizes and enum_frameintervals ioctls.
Sakari Ailus [Sat, 18 Oct 2008 15:29:15 +0000 (12:29 -0300)]
V4L/DVB (9323): v4l2-int-if: Add enum_framesizes and enum_frameintervals ioctls.

Signed-off-by: Sakari Ailus <sakari.ailus@nokia.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
17 years agoV4L/DVB (9322): v4l2-int-if: Export more interfaces to modules
Sakari Ailus [Sat, 18 Oct 2008 15:28:36 +0000 (12:28 -0300)]
V4L/DVB (9322): v4l2-int-if: Export more interfaces to modules

Export v4l2_int_device_try_attach_all. This allows initiating the
initialisation of int if device after the drivers have been registered.

Also allow drivers to call ioctls if v4l2-int-if was compiled as
module.

Signed-off-by: Sakari Ailus <sakari.ailus@nokia.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
17 years agoV4L/DVB (9321): v4l2-int-if: Define new power state changes
Sakari Ailus [Sat, 18 Oct 2008 15:27:50 +0000 (12:27 -0300)]
V4L/DVB (9321): v4l2-int-if: Define new power state changes

Use enum v4l2_power instead of int as second argument to
vidioc_int_s_power. The new functionality is that standby state is also
recognised.

Signed-off-by: Sakari Ailus <sakari.ailus@nokia.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
17 years agoV4L/DVB (9320): v4l2: Add 10-bit RAW Bayer formats
Sergio Aguirre [Sat, 18 Oct 2008 15:26:47 +0000 (12:26 -0300)]
V4L/DVB (9320): v4l2: Add 10-bit RAW Bayer formats

Add 10-bit raw bayer format expanded to 16 bits. Adds also definition
for 10-bit raw bayer format dpcm-compressed to 8 bits.

Signed-off-by: Sergio Aguirre <saaguirre@ti.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
17 years agoV4L/DVB (9319): v4l2-int-if: Add cropcap, g_crop and s_crop commands.
Sameer Venkatraman [Sat, 18 Oct 2008 15:25:28 +0000 (12:25 -0300)]
V4L/DVB (9319): v4l2-int-if: Add cropcap, g_crop and s_crop commands.

Signed-off-by: Sameer Venkatraman <sameerv@ti.com>
Signed-off-by: Mohit Jalori <mjalori@ti.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
17 years agoV4L/DVB (9318): v4l2-int-if: Add command to get slave private data.
Sakari Ailus [Sat, 18 Oct 2008 15:23:45 +0000 (12:23 -0300)]
V4L/DVB (9318): v4l2-int-if: Add command to get slave private data.

vidioc_int_g_priv is used to get master's slave-related private data
structure. The structure can contain for example master's configuration
specific to slave.

Signed-off-by: Sakari Ailus <sakari.ailus@nokia.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
17 years agoV4L/DVB (9316): s5h1411: Power down s5h1411 when not in use
Devin Heitmueller [Mon, 20 Oct 2008 13:33:22 +0000 (10:33 -0300)]
V4L/DVB (9316): s5h1411: Power down s5h1411 when not in use

Power down the s5h1411 demodulator when not in use (on the Pinnacle 801e, this
brings idle power from 123ma down to 84ma).

Signed-off-by: Devin Heitmueller <devin.heitmueller@gmail.com>
Acked-by: Steven Toth <stoth@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
17 years agoV4L/DVB (9315): s5h1411: Skip reconfiguring demod modulation if already at the desire...
Devin Heitmueller [Mon, 20 Oct 2008 13:19:07 +0000 (10:19 -0300)]
V4L/DVB (9315): s5h1411: Skip reconfiguring demod modulation if already at the desired modulation

If we are already at the desired modulation, there is no need to reconfigure
the demod (at a tuning time cost)

Note that this change revealed that although the datasheet says the demod
starts out in VSB-8 mode, the first tuning was failing consistently unless
we went through the work of setting the registers.  So add a field to denote
this case so we always do the enable_frontend call, even if the first tuning
request is for VSB-8.

Signed-off-by: Devin Heitmueller <devin.heitmueller@gmail.com>
Reviewed-by: Michael Krufky <mkrufky@linuxtv.org>
Acked-by: Steven Toth <stoth@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
17 years agoV4L/DVB (9314): s5h1411: Perform s5h1411 soft reset after tuning
Devin Heitmueller [Mon, 20 Oct 2008 13:17:08 +0000 (10:17 -0300)]
V4L/DVB (9314): s5h1411: Perform s5h1411 soft reset after tuning

If you instruct the tuner to change frequencies, it can take up to 2500ms to
get a demod lock.  By performing a soft reset after the tuning call (which
is consistent with how the Pinnacle 801e Windows driver behaves), you get
a demod lock inside of 300ms

Signed-off-by: Devin Heitmueller <devin.heitmueller@gmail.com>
Reviewed-by: Michael Krufky <mkrufky@linuxtv.org>
Acked-by: Steven Toth <stoth@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
17 years agoV4L/DVB (9313): s5h1411: Add the #define for an existing supporting I/F
Steven Toth [Sat, 18 Oct 2008 14:19:31 +0000 (11:19 -0300)]
V4L/DVB (9313): s5h1411: Add the #define for an existing supporting I/F

s5h1411: Add the #define for an existing supporting I/F

Signed-off-by: Steven Toth <stoth@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
17 years agoV4L/DVB (9312): s5h1411: Remove meaningless code
Steven Toth [Fri, 17 Oct 2008 02:26:05 +0000 (23:26 -0300)]
V4L/DVB (9312): s5h1411: Remove meaningless code

s5h1411: Remove meaningless code

Signed-off-by: Steven Toth <stoth@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
17 years agoV4L/DVB (9311): s5h1411: bugfix: Setting serial or parallel mode could destroy bits
Steven Toth [Fri, 17 Oct 2008 02:18:49 +0000 (23:18 -0300)]
V4L/DVB (9311): s5h1411: bugfix: Setting serial or parallel mode could destroy bits

Adding a serialmode function to read/and/or/write the register for safety.

Signed-off-by: Steven Toth <stoth@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
17 years agoV4L/DVB (9310): s5h1411: read_status() locking detection fixes.
Steven Toth [Fri, 17 Oct 2008 02:17:42 +0000 (23:17 -0300)]
V4L/DVB (9310): s5h1411: read_status() locking detection fixes.

This includes new bit definitions for previously unknown bits.

Signed-off-by: Steven Toth <stoth@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
17 years agoV4L/DVB (9309): s5h1411: I/F related bugfix for 3.25 and remove spurious define
Steven Toth [Fri, 17 Oct 2008 02:16:50 +0000 (23:16 -0300)]
V4L/DVB (9309): s5h1411: I/F related bugfix for 3.25 and remove spurious define

This should improve performance.

Signed-off-by: Steven Toth <stoth@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
17 years agoV4L/DVB (9308): s5h1411: Improvements to the default registers
Steven Toth [Fri, 17 Oct 2008 02:15:10 +0000 (23:15 -0300)]
V4L/DVB (9308): s5h1411: Improvements to the default registers

s5h1411: Improvements to the default registers

Signed-off-by: Steven Toth <stoth@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
17 years agoV4L/DVB (9306): dsbr100: Add frequency check
Alexey Klimov [Mon, 20 Oct 2008 03:00:03 +0000 (00:00 -0300)]
V4L/DVB (9306): dsbr100: Add frequency check

Add checking for frequency and printk if -1 returned.

Signed-off-by: Alexey Klimov <klimov.linux@gmail.com>
Signed-off-by: Douglas Schilling Landgraf <dougsland@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
17 years agoV4L/DVB (9305): radio-mr800: Add BKL for usb_amradio_open()
Alexey Klimov [Mon, 20 Oct 2008 02:56:23 +0000 (23:56 -0300)]
V4L/DVB (9305): radio-mr800: Add BKL for usb_amradio_open()

Added BKL for usb_amradio_open()

Signed-off-by: Alexey Klimov <klimov.linux@gmail.com>
Signed-off-by: Douglas Schilling Landgraf <dougsland@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
17 years agoV4L/DVB (9304): dsbr100: CodingStyle issue
Alexey Klimov [Mon, 20 Oct 2008 02:50:27 +0000 (23:50 -0300)]
V4L/DVB (9304): dsbr100: CodingStyle issue

Fixed few coding style issues in dsbr100

Signed-off-by: Alexey Klimov <klimov.linux@gmail.com>
Signed-off-by: Douglas Schilling Landgraf <dougsland@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
17 years agoV4L/DVB (9303): dsbr100: Correct bus_info string
Alexey Klimov [Mon, 20 Oct 2008 02:20:47 +0000 (23:20 -0300)]
V4L/DVB (9303): dsbr100: Correct bus_info string

Replaced bus_info string from ISA to USB

Signed-off-by: Alexey Klimov <klimov.linux@gmail.com>
Signed-off-by: Douglas Schilling Landgraf <dougsland@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
17 years agoV4L/DVB (9301): pvrusb2: Keep MPEG PTSs from drifting away
Boris Dores [Sun, 19 Oct 2008 20:00:30 +0000 (17:00 -0300)]
V4L/DVB (9301): pvrusb2: Keep MPEG PTSs from drifting away

(Mike Isely) This change was empirically figured out by Boris Dores
after empirically comparing against behavior in the Windows driver.

Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
17 years agoV4L/DVB (9300): pvrusb2: Fix deadlock problem
Mike Isely [Sun, 19 Oct 2008 19:26:05 +0000 (16:26 -0300)]
V4L/DVB (9300): pvrusb2: Fix deadlock problem

Fix deadlock problem in 2.6.27 caused by new USB core behavior in
response to a USB device reset request.  With older kernels, the USB
device reset was "in line"; the reset simply took place and the driver
retained its association with the hardware.  However now this reset
triggers a disconnect, and worse still the disconnect callback happens
in the context of the caller who asked for the device reset.  This
results in an attempt by the pvrusb2 driver to recursively take a
mutex it already has, which deadlocks the driver's worker thread.
(Even if the disconnect callback were to happen on a different thread
we'd still have problems however - because while the driver should
survive and correctly disconnect / reconnect, it will then trigger
another device reset during the repeated initialization, which will
then cause another disconect, etc, forever.)  The fix here is simply
to not attempt the device reset (it was of marginal value anyway).

Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
17 years agoV4L/DVB (9299): cx18: Don't mask many real init error codes by mapping them to ENOMEM
Andy Walls [Sat, 18 Oct 2008 13:20:25 +0000 (10:20 -0300)]
V4L/DVB (9299): cx18: Don't mask many real init error codes by mapping them to ENOMEM

Changes to let error return codes bubble up to the user visible
error message on card initialization.  A number of them were being remapped to
ENOMEM when no memory or array resource shortage existed.  That hampered
diagnosis of user trouble reports.

Signed-off-by: Andy Walls <awalls@radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
17 years agoV4L/DVB (9298): cx18: Add __iomem address space qualifier to cx18_log_*_retries(...
Andy Walls [Sat, 18 Oct 2008 12:00:26 +0000 (09:00 -0300)]
V4L/DVB (9298): cx18: Add __iomem address space qualifier to cx18_log_*_retries() argument

cx18: Add __iomem address space qualifier to cx18_log_*_retries() addr
argument to clean up sparse build warnings.

Signed-off-by: Andy Walls <awalls@radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
17 years agoV4L/DVB (9297): cx18: Fix memory leak on card initialization failure
Andy Walls [Sat, 18 Oct 2008 11:51:28 +0000 (08:51 -0300)]
V4L/DVB (9297): cx18: Fix memory leak on card initialization failure

On error exit, the cx18_probe() function did not use the proper entry in
cx18_cards[] with kfree() when card init failed; leaking memory.

Signed-off-by: Andy Walls <awalls@radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
17 years agoxtensa: Add config files for Diamond 232L - Rev B processor variant
Chris Zankel [Tue, 21 Oct 2008 16:11:43 +0000 (09:11 -0700)]
xtensa: Add config files for Diamond 232L - Rev B processor variant

The Diamond 232L processor is a pre-configured Xtensa processor tailored
for Linux application.

Signed-off-by: Chris Zankel <chris@zankel.net>
17 years agoxtensa: Fix io regions
Chris Zankel [Tue, 21 Oct 2008 16:08:31 +0000 (09:08 -0700)]
xtensa: Fix io regions

The uncached area starts at e000.0000 and spans 1GB. Also add an IOADDR
macro to determine the bypass region to access the IO space.

Signed-off-by: Chris Zankel <chris@zankel.net>
17 years agoALSA: emu10k1: fix device names for Live!/Audigy1/2/4/E-mu
Vedran Miletic [Tue, 21 Oct 2008 15:42:54 +0000 (17:42 +0200)]
ALSA: emu10k1: fix device names for Live!/Audigy1/2/4/E-mu

* added missing SBxxxx, CTxxxx, PCxxx and MAEMxxxx where they were missing,
and fixed some of them which were wrong (according to kx.inf, which is pretty
accurate compared to anything out there)
* fixed device names to make them more consistent across various cards
* fixed order of devices where appropriate

Signed-off-by: Vedran Miletic <rivanvx@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
17 years agoALSA: hda - Fix conflicting volume controls on ALC260
Takashi Iwai [Tue, 21 Oct 2008 15:01:47 +0000 (17:01 +0200)]
ALSA: hda - Fix conflicting volume controls on ALC260

ALC260 auto-parsing mode may create multiple controls for the same volume
widget (0x08 and 0x09) depending on the pin.  For example, Front and
Headphone volumes may control the same volume, just the latter one wins.

This patch adds a proper check of the existing of the volume control
and avoid the doulbed creation of the same volume controls.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
17 years agoxtensa: Add support for the Sonic Ethernet device for the XT2000 board.
Chris Zankel [Tue, 6 May 2008 06:36:35 +0000 (23:36 -0700)]
xtensa: Add support for the Sonic Ethernet device for the XT2000 board.

Add support for the on-board Sonic Ethernet device for the XT2000
evaluation board.

Signed-off-by: Chris Zankel <chris@zankel.net>
17 years ago[ARM] pxa/spitz: fix unbalance parenthesis in header file spitz.h
Mariusz Kozlowski [Sat, 18 Oct 2008 12:56:43 +0000 (14:56 +0200)]
[ARM] pxa/spitz: fix unbalance parenthesis in header file spitz.h

Hello,

Introduced by:

commit fff147208b48680cb7b627a144113a6585828a0e
Author: Eric Miao <eric.miao@marvell.com>
Date:   Fri Sep 5 22:15:23 2008 +0800

Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl>
Signed-off-by: Eric Miao <eric.miao@marvell.com>
17 years ago[ARM] pxa: update {corgi,spitz}_defconfig to favor SPI-based drivers
Eric Miao [Mon, 20 Oct 2008 02:35:19 +0000 (10:35 +0800)]
[ARM] pxa: update {corgi,spitz}_defconfig to favor SPI-based drivers

Recent changes have been made to use the generic SPI-based ads7846
touch screen driver and a generic SPI-based corgi-type LCD/backlight
driver. Update the {corgi,spitz}_defconfig to favor the use of these
drivers instead of the legacy ones.

Signed-off-by: Eric Miao <eric.miao@marvell.com>
17 years ago[CIFS] fix saving of resume key before CIFSFindNext
Jeff Layton [Tue, 21 Oct 2008 14:42:13 +0000 (14:42 +0000)]
[CIFS] fix saving of resume key before CIFSFindNext

We recently fixed the cifs readdir code so that it saves the resume key
before calling CIFSFindNext. Unfortunately, this assumes that we have
just done a CIFSFindFirst (or FindNext) and have resume info to save.
This isn't necessarily the case. Fix the code to save resume info if we
had to reinitiate the search, and after a FindNext.

This fixes connectathon basic test6 against NetApp filers.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
CC: Stable <stable@kernel.org>
Signed-off-by: Steve French <sfrench@us.ibm.com>
17 years agorcupdate: fix bug of rcu_barrier*()
Lai Jiangshan [Fri, 17 Oct 2008 06:40:30 +0000 (14:40 +0800)]
rcupdate: fix bug of rcu_barrier*()

current rcu_barrier_bh() is like this:

void rcu_barrier_bh(void)
{
BUG_ON(in_interrupt());
/* Take cpucontrol mutex to protect against CPU hotplug */
mutex_lock(&rcu_barrier_mutex);
init_completion(&rcu_barrier_completion);
atomic_set(&rcu_barrier_cpu_count, 0);
/*
 * The queueing of callbacks in all CPUs must be atomic with
 * respect to RCU, otherwise one CPU may queue a callback,
 * wait for a grace period, decrement barrier count and call
 * complete(), while other CPUs have not yet queued anything.
 * So, we need to make sure that grace periods cannot complete
 * until all the callbacks are queued.
 */
rcu_read_lock();
on_each_cpu(rcu_barrier_func, (void *)RCU_BARRIER_BH, 1);
rcu_read_unlock();
wait_for_completion(&rcu_barrier_completion);
mutex_unlock(&rcu_barrier_mutex);
}

The inconsistency of the code and the comments show a bug here.
rcu_read_lock() cannot make sure that "grace periods for RCU_BH
cannot complete until all the callbacks are queued".
it only make sure that race periods for RCU cannot complete
until all the callbacks are queued.

so we must use rcu_read_lock_bh() for rcu_barrier_bh().
like this:

void rcu_barrier_bh(void)
{
......
rcu_read_lock_bh();
on_each_cpu(rcu_barrier_func, (void *)RCU_BARRIER_BH, 1);
rcu_read_unlock_bh();
......
}

and also rcu_barrier() rcu_barrier_sched() are implemented like this.
it will bring a lot of duplicate code. My patch uses another way to
fix this bug, please see the comment of my patch.
Thank Paul E. McKenney for he rewrote the comment.

Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Reviewed-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
17 years agogenirq: NULL struct irq_desc's member 'name' in dynamic_irq_cleanup()
Dean Nelson [Sat, 18 Oct 2008 23:06:56 +0000 (16:06 -0700)]
genirq: NULL struct irq_desc's member 'name' in dynamic_irq_cleanup()

If the member 'name' of the irq_desc structure happens to point to a
character string that is resident within a kernel module, problems ensue
if that module is rmmod'd (at which time dynamic_irq_cleanup() is called)
and then later show_interrupts() is called by someone.

It is also not a good thing if the character string resided in kmalloc'd
space that has been kfree'd (after having called dynamic_irq_cleanup()).
dynamic_irq_cleanup() fails to NULL the 'name' member and
show_interrupts() references it on a few architectures (like h8300, sh and
x86).

Signed-off-by: Dean Nelson <dcn@sgi.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
17 years agogenirq: fix off by one and coding style
Ingo Molnar [Tue, 21 Oct 2008 13:49:59 +0000 (15:49 +0200)]
genirq: fix off by one and coding style

Fix off-by-one in for_each_irq_desc_reverse().

Impact is near zero in practice, because nothing substantial wants to
iterate down to IRQ#0 - but fix it nevertheless.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
17 years agosh: Update gpio_set_value() pin value handling
Magnus Damm [Tue, 21 Oct 2008 12:31:07 +0000 (21:31 +0900)]
sh: Update gpio_set_value() pin value handling

This patch updates the pinmux code to use the boolean value for
the function gpio_set_value(). Without this patch values other
than 0 and 1 will result in incorrect GPIO settings.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
17 years agosh: update ov772x byte order on Migo-R
Magnus Damm [Tue, 21 Oct 2008 12:29:03 +0000 (21:29 +0900)]
sh: update ov772x byte order on Migo-R

Update the ov772x byte sequence to enable byte swap. This to reflect
the recent CEU driver change to follow incoming byte order.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
17 years ago[JFFS2] Fix build failure with !CONFIG_JFFS2_FS_WRITEBUFFER
Steve Glendinning [Tue, 21 Oct 2008 12:25:51 +0000 (13:25 +0100)]
[JFFS2] Fix build failure with !CONFIG_JFFS2_FS_WRITEBUFFER

Build failure introduced by 5bf1723723487ddb0b9c9641b6559da96b27cc93
[JFFS2] Write buffer offset adjustment for NOR-ECC (Sibley) flash

Signed-off-by: Steve Glendinning <steve.glendinning@smsc.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
17 years ago[MTD] [NAND] OMAP2: remove duplicated #include
Huang Weiyi [Mon, 20 Oct 2008 22:33:42 +0000 (06:33 +0800)]
[MTD] [NAND] OMAP2: remove duplicated #include

Removed duplicated #include <asm/arch/gpmc.h> in
drivers/mtd/onenand/omap2.c.

Signed-off-by: Huang Weiyi <weiyi.huang@gmail.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
17 years ago[PATCH] kill the rest of struct file propagation in block ioctls
Al Viro [Fri, 19 Sep 2008 07:17:36 +0000 (03:17 -0400)]
[PATCH] kill the rest of struct file propagation in block ioctls

Now we can switch blkdev_ioctl() block_device/mode

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
17 years ago[PATCH] get rid of struct file use in blkdev_ioctl() BLKBSZSET
Al Viro [Fri, 19 Sep 2008 07:08:13 +0000 (03:08 -0400)]
[PATCH] get rid of struct file use in blkdev_ioctl() BLKBSZSET

We need to do bd_claim() only if file hadn't been opened with O_EXCL
and then we have no need to use file itself as owner.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
17 years ago[PATCH] get rid of blkdev_locked_ioctl()
Al Viro [Thu, 18 Sep 2008 19:53:24 +0000 (15:53 -0400)]
[PATCH] get rid of blkdev_locked_ioctl()

Most of that stuff doesn't need BKL at all; expand in the (only) caller,
merge the switch into one there and leave BKL only around the stuff that
might actually need it.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
17 years ago[PATCH] get rid of blkdev_driver_ioctl()
Al Viro [Thu, 18 Sep 2008 07:38:12 +0000 (03:38 -0400)]
[PATCH] get rid of blkdev_driver_ioctl()

convert remaining callers to __blkdev_driver_ioctl()

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
17 years ago[PATCH] sanitize blkdev_get() and friends
Al Viro [Mon, 8 Oct 2007 17:24:05 +0000 (13:24 -0400)]
[PATCH] sanitize blkdev_get() and friends

* get rid of fake struct file/struct dentry in __blkdev_get()
* merge __blkdev_get() and do_open()
* get rid of flags argument of blkdev_get()

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
17 years ago[PATCH] remember mode of reiserfs journal
Al Viro [Mon, 8 Oct 2007 17:24:05 +0000 (13:24 -0400)]
[PATCH] remember mode of reiserfs journal

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
17 years ago[PATCH] propagate mode through swsusp_close()
Al Viro [Mon, 8 Oct 2007 17:21:10 +0000 (13:21 -0400)]
[PATCH] propagate mode through swsusp_close()

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
17 years ago[PATCH] propagate mode through open_bdev_excl/close_bdev_excl
Al Viro [Sat, 23 Feb 2008 00:50:45 +0000 (19:50 -0500)]
[PATCH] propagate mode through open_bdev_excl/close_bdev_excl

replace open_bdev_excl/close_bdev_excl with variants taking fmode_t.
superblock gets the value used to mount it stored in sb->s_mode

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
17 years ago[PATCH] pass fmode_t to blkdev_put()
Al Viro [Sat, 23 Feb 2008 01:40:24 +0000 (20:40 -0500)]
[PATCH] pass fmode_t to blkdev_put()

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
17 years ago[PATCH] kill the unused bsize on the send side of /dev/loop
Al Viro [Mon, 8 Oct 2007 16:10:13 +0000 (12:10 -0400)]
[PATCH] kill the unused bsize on the send side of /dev/loop

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
17 years ago[PATCH] trim file propagation in block/compat_ioctl.c
Al Viro [Sat, 23 Feb 2008 03:02:50 +0000 (22:02 -0500)]
[PATCH] trim file propagation in block/compat_ioctl.c

... and remove the handling of cases when it falls back to native
without changing arguments.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
17 years ago[PATCH] end of methods switch: remove the old ones
Al Viro [Sun, 2 Mar 2008 15:43:36 +0000 (10:43 -0500)]
[PATCH] end of methods switch: remove the old ones

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
17 years ago[PATCH] switch sr
Al Viro [Sun, 2 Mar 2008 15:41:28 +0000 (10:41 -0500)]
[PATCH] switch sr

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
17 years ago[PATCH] switch sd
Al Viro [Sun, 2 Mar 2008 15:41:04 +0000 (10:41 -0500)]
[PATCH] switch sd

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
17 years ago[PATCH] switch ide-scsi
Al Viro [Sun, 2 Mar 2008 15:40:39 +0000 (10:40 -0500)]
[PATCH] switch ide-scsi

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
17 years ago[PATCH] switch tape_block
Al Viro [Sun, 2 Mar 2008 15:39:59 +0000 (10:39 -0500)]
[PATCH] switch tape_block

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
17 years ago[PATCH] switch dcssblk
Al Viro [Sun, 2 Mar 2008 15:37:41 +0000 (10:37 -0500)]
[PATCH] switch dcssblk

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
17 years ago[PATCH] switch dasd
Al Viro [Sun, 2 Mar 2008 15:36:08 +0000 (10:36 -0500)]
[PATCH] switch dasd

->compat_ioctl() actually had been useless here; generic
logics works fine.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
17 years ago[PATCH] switch mtd_blkdevs
Al Viro [Sun, 2 Mar 2008 15:35:06 +0000 (10:35 -0500)]
[PATCH] switch mtd_blkdevs

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
17 years ago[PATCH] switch mmc
Al Viro [Sun, 2 Mar 2008 15:33:30 +0000 (10:33 -0500)]
[PATCH] switch mmc

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
17 years ago[PATCH] switch i2o
Al Viro [Sun, 2 Mar 2008 15:33:08 +0000 (10:33 -0500)]
[PATCH] switch i2o

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
17 years ago[PATCH] switch memstick
Al Viro [Sun, 2 Mar 2008 15:31:38 +0000 (10:31 -0500)]
[PATCH] switch memstick

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
17 years ago[PATCH] switch md
Al Viro [Sun, 2 Mar 2008 15:31:15 +0000 (10:31 -0500)]
[PATCH] switch md

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
17 years ago[PATCH] switch dm
Al Viro [Sun, 2 Mar 2008 15:29:31 +0000 (10:29 -0500)]
[PATCH] switch dm

ioctl() doesn't need BKL here

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
17 years ago[PATCH] switch ide-tape
Al Viro [Sun, 2 Mar 2008 15:27:58 +0000 (10:27 -0500)]
[PATCH] switch ide-tape

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
17 years ago[PATCH] switch ide-gd
Al Viro [Thu, 16 Oct 2008 14:34:00 +0000 (10:34 -0400)]
[PATCH] switch ide-gd

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
17 years ago[PATCH] switch ide-cd
Al Viro [Sun, 2 Mar 2008 15:26:23 +0000 (10:26 -0500)]
[PATCH] switch ide-cd

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
17 years ago[PATCH] switch viocd
Al Viro [Sun, 2 Mar 2008 15:25:44 +0000 (10:25 -0500)]
[PATCH] switch viocd

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
17 years ago[PATCH] switch gdrom
Al Viro [Sun, 2 Mar 2008 15:25:18 +0000 (10:25 -0500)]
[PATCH] switch gdrom

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
17 years ago[PATCH] switch z2ram
Al Viro [Sun, 2 Mar 2008 15:24:45 +0000 (10:24 -0500)]
[PATCH] switch z2ram

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
17 years ago[PATCH] switch xyspace
Al Viro [Sun, 2 Mar 2008 15:24:18 +0000 (10:24 -0500)]
[PATCH] switch xyspace

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
17 years ago[PATCH] switch xen
Al Viro [Sun, 2 Mar 2008 15:23:47 +0000 (10:23 -0500)]
[PATCH] switch xen

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
17 years ago[PATCH] switch xd
Al Viro [Sun, 2 Mar 2008 15:23:12 +0000 (10:23 -0500)]
[PATCH] switch xd

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
17 years ago[PATCH] switch virtio_blk
Al Viro [Sun, 2 Mar 2008 15:22:33 +0000 (10:22 -0500)]
[PATCH] switch virtio_blk

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
17 years ago[PATCH] switch viodasd
Al Viro [Sun, 2 Mar 2008 15:22:07 +0000 (10:22 -0500)]
[PATCH] switch viodasd

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
17 years ago[PATCH] switch ub
Al Viro [Sun, 2 Mar 2008 15:21:43 +0000 (10:21 -0500)]
[PATCH] switch ub

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
17 years ago[PATCH] switch swim3
Al Viro [Sun, 2 Mar 2008 15:20:44 +0000 (10:20 -0500)]
[PATCH] switch swim3

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
17 years ago[PATCH] switch pktdvdcd
Al Viro [Sun, 2 Mar 2008 15:15:10 +0000 (10:15 -0500)]
[PATCH] switch pktdvdcd

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
17 years ago[PATCH] switch pf
Al Viro [Sun, 2 Mar 2008 14:36:16 +0000 (09:36 -0500)]
[PATCH] switch pf

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
17 years ago[PATCH] switch pd
Al Viro [Sun, 2 Mar 2008 14:35:54 +0000 (09:35 -0500)]
[PATCH] switch pd

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
17 years ago[PATCH] switch pcd
Al Viro [Sun, 2 Mar 2008 14:35:06 +0000 (09:35 -0500)]
[PATCH] switch pcd

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
17 years ago[PATCH] switch nbd
Al Viro [Sun, 2 Mar 2008 14:33:33 +0000 (09:33 -0500)]
[PATCH] switch nbd

NB: nbd_ioctl() appears to be racy; BKL is held, but doesn't really
help, AFAICS.  Left as-is for now, but it'll need fixing.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
17 years ago[PATCH] switch loop
Al Viro [Sun, 2 Mar 2008 14:29:48 +0000 (09:29 -0500)]
[PATCH] switch loop

ioctl doesn't need BKL here

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
17 years ago[PATCH] switch floppy
Al Viro [Sun, 2 Mar 2008 14:27:55 +0000 (09:27 -0500)]
[PATCH] switch floppy

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
17 years ago[PATCH] switch cpqarray
Al Viro [Sun, 2 Mar 2008 14:27:11 +0000 (09:27 -0500)]
[PATCH] switch cpqarray

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>