Re: [PATCH] virtio-scsi: Fix incorrect lock release order in virtscsi_kick_cmd

2012-11-08 Thread Wanlong Gao
On 11/09/2012 02:29 PM, Nicholas A. Bellinger wrote: > From: Nicholas Bellinger > > This patch fixes a regression bug in virtscsi_kick_cmd() that relinquishes > the acquired spinlocks in the incorrect order using the wrong spin_unlock > macros, namely releasing vq->vq_lock before tgt->tgt_lock wh

Re: [PATCH] Btrfs: merge inode_list in __merge_refs

2012-11-08 Thread Greg KH
On Thu, Nov 08, 2012 at 10:35:19PM +0100, Alexander Block wrote: > > Used wrong CC for stable list. Corrected now. This is not the correct way to submit patches for inclusion in the stable kernel tree. Please read Documentation/stable_kernel_rules.txt for how to do this properly. -- To unsub

Patch Upstream: module: fix out-by-one error in kallsyms

2012-11-08 Thread Gregs git-bot
commit: 59ef28b1f14899b10d6b2682c7057ca00a9a3f47 From: Rusty Russell Date: Thu, 25 Oct 2012 10:49:25 +1030 Subject: module: fix out-by-one error in kallsyms Masaki found and patched a kallsyms issue: the last symbol in a module's symtab wasn't transferred. This is because we manually copy the ze

Patch Upstream: drm/radeon/cayman: add some missing regs to the VM reg checker

2012-11-08 Thread Gregs git-bot
commit: 860fe2f05fa2eacac84368e23547ec8cf3cc6652 From: Alex Deucher Date: Thu, 8 Nov 2012 10:08:04 -0500 Subject: drm/radeon/cayman: add some missing regs to the VM reg checker MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit These regs were being wronly r

Patch Upstream: drm/radeon/si: add some missing regs to the VM reg checker

2012-11-08 Thread Gregs git-bot
commit: f418b88aad0c42b4caf4d79a0cf8d14a5d0a2284 From: Alex Deucher Date: Thu, 8 Nov 2012 10:13:24 -0500 Subject: drm/radeon/si: add some missing regs to the VM reg checker MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This register is needed for stream

Patch Upstream: xfs: fix buffer shudown reference count mismatch

2012-11-08 Thread Gregs git-bot
commit: 03b1293edad462ad1ad62bcc5160c76758e450d5 From: Dave Chinner Date: Fri, 2 Nov 2012 14:23:12 +1100 Subject: xfs: fix buffer shudown reference count mismatch When we shut down the filesystem, we have to unpin and free all the buffers currently active in the CIL. To do this we unpin and remov

Patch Upstream: xfs: fix reading of wrapped log data

2012-11-08 Thread Gregs git-bot
commit: 6ce377afd1755eae5c93410ca9a1121dfead7b87 From: Dave Chinner Date: Fri, 2 Nov 2012 11:38:44 +1100 Subject: xfs: fix reading of wrapped log data Commit 4439647 ("xfs: reset buffer pointers before freeing them") in 3.0-rc1 introduced a regression when recovering log buffers that wrapped arou

Patch Upstream: fanotify: fix missing break

2012-11-08 Thread Gregs git-bot
commit: 848561d368751a1c0f679b9f045a02944506a801 From: Eric Paris Date: Thu, 8 Nov 2012 15:53:37 -0800 Subject: fanotify: fix missing break Anders Blomdell noted in 2010 that Fanotify lost events and provided a test case. Eric Paris confirmed it was a bug and posted a fix to the list https://

Patch Upstream: virtio: Don't access index after unregister.

2012-11-08 Thread Gregs git-bot
commit: 237242bddc99041e15a4ca51b8439657cadaff17 From: Cornelia Huck Date: Fri, 9 Nov 2012 14:54:12 +1030 Subject: virtio: Don't access index after unregister. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Virtio wants to release used indices after the

Patch Upstream: mm: bugfix: set current->reclaim_state to NULL while returning from kswapd()

2012-11-08 Thread Gregs git-bot
commit: b0a8cc58e6b9aaae3045752059e5e6260c0b94bc From: Takamori Yamaguchi Date: Thu, 8 Nov 2012 15:53:39 -0800 Subject: mm: bugfix: set current->reclaim_state to NULL while returning from kswapd() In kswapd(), set current->reclaim_state to NULL before returning, as current->reclaim_state holds r

[PATCH] virtio-scsi: Fix incorrect lock release order in virtscsi_kick_cmd

2012-11-08 Thread Nicholas A. Bellinger
From: Nicholas Bellinger This patch fixes a regression bug in virtscsi_kick_cmd() that relinquishes the acquired spinlocks in the incorrect order using the wrong spin_unlock macros, namely releasing vq->vq_lock before tgt->tgt_lock while invoking the calls to virtio_ring.c:virtqueue_add_buf() and

[PATCH] asus-laptop: Do not call HWRS on init

2012-11-08 Thread Ben Hutchings
Since commit 8871e99f89b7 ('asus-laptop: HRWS/HWRS typo'), module initialisation is very slow on the Asus UL30A. The HWRS method takes about 12 seconds to run, and subsequent initialisation also seems to be delayed. Since we don't really need the result, don't bother calling it on init. Those wh

[PATCH RESEND] perf test: fix a build error on builtin-test

2012-11-08 Thread Vinson Lee
From: Zheng Liu Recently I build perf and get a build error on builtin-test.c. The error is as following: $ make CC perf.o CC builtin-test.o cc1: warnings being treated as errors builtin-test.c: In function ‘sched__get_first_possible_cpu’: builtin-test.c:977: warning: implicit declaratio

[patch 1/3] vfs: increment iversion when a file is truncated

2012-11-08 Thread akpm
From: Dmitry Kasatkin Subject: vfs: increment iversion when a file is truncated When a file is truncated with truncate()/ftruncate() and then closed, iversion is not updated. This patch uses ATTR_SIZE flag as an indication to increment iversion. Mimi said: On fput(), i_version is used to detec

[patch 2/2] fs/block_dev.c: page cache wrongly left invalidated after revalidate_disk()

2012-11-08 Thread akpm
From: MITSUNARI Shigeo Subject: fs/block_dev.c: page cache wrongly left invalidated after revalidate_disk() We found that bdev->bd_invalidated was left set once revalidate_disk() is called, which results in page cache flush every time that device is open. Specifically, we found this problem in

[patch 1/2] vfs: d_obtain_alias() needs to use "/" as default name.

2012-11-08 Thread akpm
From: NeilBrown Subject: vfs: d_obtain_alias() needs to use "/" as default name. NFS appears to use d_obtain_alias() to create the root dentry rather than d_make_root. This can cause 'prepend_path()' to complain that the root has a weird name if an NFS filesystem is lazily unmounted. e.g. if "

[patch 1/1] selinux: fix sel_netnode_insert() suspicious rcu dereference

2012-11-08 Thread akpm
From: Dave Jones Subject: selinux: fix sel_netnode_insert() suspicious rcu dereference === [ INFO: suspicious RCU usage. ] 3.5.0-rc1+ #63 Not tainted --- security/selinux/netnode.c:178 suspicious rcu_dereference_check() usage! other info th

[patch 4/5] mm: bugfix: set current->reclaim_state to NULL while returning from kswapd()

2012-11-08 Thread akpm
From: Takamori Yamaguchi Subject: mm: bugfix: set current->reclaim_state to NULL while returning from kswapd() In kswapd(), set current->reclaim_state to NULL before returning, as current->reclaim_state holds reference to variable on kswapd()'s stack. In rare cases, while returning from kswapd(

[patch 3/5] fanotify: fix missing break

2012-11-08 Thread akpm
From: Eric Paris Subject: fanotify: fix missing break Anders Blomdell noted in 2010 that Fanotify lost events and provided a test case. Eric Paris confirmed it was a bug and posted a fix to the list https://groups.google.com/forum/?fromgroups=#!topic/linux.kernel/RrJfTfyW2BE but never applied

Re: [PATCH] Btrfs: merge inode_list in __merge_refs

2012-11-08 Thread Alexander Block
On Thu, Nov 8, 2012 at 10:27 PM, Alexander Block wrote: > When __merge_refs merges two refs, it is also needed to merge the > inode_list of both refs. Otherwise we have missed backrefs and memory > leaks. This happens for example if two inodes share an extent and > both lie in the same leaf and th

[PATCH] target/iblock: Fix double iblock_complete_cmd callback bug

2012-11-08 Thread Nicholas A. Bellinger
From: Nicholas Bellinger This patch fixes a double completion bug where ibr->pending = 2 usage plus the extra callback to iblock_complete_cmd() invoked after bio submission in iblock_execute_rw() can interfere with the normal bio->bi_done() -> iblock_bio_done() -> iblock_complete_cmd() completion

[PATCH] USB: mos7840: remove unused variable

2012-11-08 Thread Johan Hovold
Fix warning about unused variable introduced by commit e681b66f2e19fa ("USB: mos7840: remove invalid disconnect handling") upstream. A subsequent fix which removed the disconnect function got rid of the warning but that one was only backported to v3.6. Reported-by: Jiri Slaby Cc: stable Signed-

[PATCH] ACPI video: Ignore errors after _DOD evaluation.

2012-11-08 Thread Abdallah Chatila
Patch for 3.6 & 3.4 stable trees. Please note that 3.0 stable is fine since we don't check the return value of acpi_video_device_enumerate there. >From fba4e087361605d1eed63343bb08811f097c83ee Mon Sep 17 00:00:00 2001 From: Igor Murzov Date: Sat, 13 Oct 2012 04:41:25 +0400 Subject: [PATCH] ACPI

[PATCH] drm/radeon/si: add some missing regs to the VM reg checker

2012-11-08 Thread alexdeucher
From: Alex Deucher This register is needed for streamout to work properly. Signed-off-by: Alex Deucher Cc: stable@vger.kernel.org --- drivers/gpu/drm/radeon/si.c |1 + drivers/gpu/drm/radeon/sid.h |1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/rad

[PATCH] drm/radeon/cayman: add some missing regs to the VM reg checker

2012-11-08 Thread alexdeucher
From: Alex Deucher These regs were being wronly rejected leading to rendering issues. fixes: https://bugs.freedesktop.org/show_bug.cgi?id=56876 Signed-off-by: Alex Deucher Cc: stable@vger.kernel.org --- drivers/gpu/drm/radeon/evergreen_cs.c |3 +++ drivers/gpu/drm/radeon/evergreend.h |

GFS2: Test bufdata with buffer locked and gfs2_log_lock held

2012-11-08 Thread Steven Whitehouse
Patch from upstream for 3.6 stable tree http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=96e5d1d3adf56f1c7eeb07258f6a1a0a7ae9c489 >From 96e5d1d3adf56f1c7eeb07258f6a1a0a7ae9c489 Mon Sep 17 00:00:00 2001 From: Benjamin Marzinski Date: Wed, 7 Nov 2012 00:38:06 -0600 Su

GFS2: Test bufdata with buffer locked and gfs2_log_lock held

2012-11-08 Thread Steven Whitehouse
Patch from upstream for 3.6 stable tree http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=96e5d1d3adf56f1c7eeb07258f6a1a0a7ae9c489 >From 96e5d1d3adf56f1c7eeb07258f6a1a0a7ae9c489 Mon Sep 17 00:00:00 2001 From: Benjamin Marzinski Date: Wed, 7 Nov 2012 00:38:06 -0600 Su