aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ubifs/commit.c
diff options
context:
space:
mode:
authorMikulas Patocka <[email protected]>2015-02-02 14:39:02 +0000
committerIngo Molnar <[email protected]>2015-02-03 11:14:25 +0000
commit3e87523897e18a3e17fc8955ed795188be737ff1 (patch)
treeef9955c7911ca95c7881f8e0371115a6d16fdf0b /fs/ubifs/commit.c
parentsched: Fix crash if cpuset_cpumask_can_shrink() is passed an empty cpumask (diff)
downloadkernel-3e87523897e18a3e17fc8955ed795188be737ff1.tar.gz
kernel-3e87523897e18a3e17fc8955ed795188be737ff1.zip
sched/wait: Remove might_sleep() from wait_event_cmd()
The patch e22b886a8a43 ("sched/wait: Add might_sleep() checks") introduced a bug in the raid5 subsystem. The function raid5_quiesce() (and resize_stripes()) uses the 'cmd' part to release and acquire a spinlock (so we call the sleep primitives in atomic context), and therefore we cannot do the might_sleep() check. Remove it. Fixes: e22b886a8a43 ("sched/wait: Add might_sleep() checks") Signed-off-by: Mikulas Patocka <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Cc: Linus Torvalds <[email protected]> Link: http://lkml.kernel.org/r/alpine.LRH.2.02.1502020935580.13510@file01.intranet.prod.int.rdu2.redhat.com Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'fs/ubifs/commit.c')
0 files changed, 0 insertions, 0 deletions