]>
git.karo-electronics.de Git - karo-tx-linux.git/log
NeilBrown [Thu, 13 Sep 2012 00:58:14 +0000 (10:58 +1000)]
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
"/mnt" is an NFS mount then
{ cd /mnt; umount -l /mnt ; ls -l /proc/self/cwd; }
will cause a WARN message like
WARNING: at /home/git/linux/fs/dcache.c:2624 prepend_path+0x1d7/0x1e0()
...
Root dentry has weird name <>
to appear in kernel logs.
So change d_obtain_alias() to use "/" rather than "" as the anonymous
name.
Signed-off-by: NeilBrown <neilb@suse.de>
Cc: Trond Myklebust <Trond.Myklebust@netapp.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Dave Jones [Thu, 13 Sep 2012 00:58:14 +0000 (10:58 +1000)]
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 that might help us debug this:
rcu_scheduler_active = 1, debug_locks = 0
1 lock held by trinity-child1/8750:
#0: (sel_netnode_lock){+.....}, at: [<
ffffffff812d8f8a >] sel_netnode_sid+0x16a/0x3e0
stack backtrace:
Pid: 8750, comm: trinity-child1 Not tainted 3.5.0-rc1+ #63
Call Trace:
[<
ffffffff810cec2d >] lockdep_rcu_suspicious+0xfd/0x130
[<
ffffffff812d91d1 >] sel_netnode_sid+0x3b1/0x3e0
[<
ffffffff812d8e20 >] ? sel_netnode_find+0x1a0/0x1a0
[<
ffffffff812d24a6 >] selinux_socket_bind+0xf6/0x2c0
[<
ffffffff810cd1dd >] ? trace_hardirqs_off+0xd/0x10
[<
ffffffff810cdb55 >] ? lock_release_holdtime.part.9+0x15/0x1a0
[<
ffffffff81093841 >] ? lock_hrtimer_base+0x31/0x60
[<
ffffffff812c9536 >] security_socket_bind+0x16/0x20
[<
ffffffff815550ca >] sys_bind+0x7a/0x100
[<
ffffffff816c03d5 >] ? sysret_check+0x22/0x5d
[<
ffffffff810d392d >] ? trace_hardirqs_on_caller+0x10d/0x1a0
[<
ffffffff8133b09e >] ? trace_hardirqs_on_thunk+0x3a/0x3f
[<
ffffffff816c03a9 >] system_call_fastpath+0x16/0x1b
This patch below does what Paul McKenney suggested in the previous thread.
Signed-off-by: Dave Jones <davej@redhat.com>
Reviewed-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Acked-by: Paul Moore <paul@paul-moore.com>
Cc: Eric Paris <eparis@parisplace.org>
Cc: James Morris <jmorris@namei.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Corey Minyard [Thu, 13 Sep 2012 00:58:13 +0000 (10:58 +1000)]
CRIS: Fix I/O macros
The inb/outb macros for CRIS are broken from a number of points of view,
missing () around parameters and they have an unprotected if statement in
them. This was breaking the compile of IPMI on CRIS and thus I was being
annoyed by build regressions, so I fixed them.
Plus I don't think they would have worked at all, since the data values
were missing "&" and the outsl had a "3" instead of a "4" for the size.
From what I can tell, this stuff is not used at all, so this can't be any
more broken than it was before, anyway.
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Cc: Jesper Nilsson <jesper.nilsson@axis.com>
Cc: Mikael Starvik <starvik@axis.com>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Andrew Morton [Thu, 13 Sep 2012 22:45:29 +0000 (08:45 +1000)]
idr-rename-max_level-to-max_idr_level-fix-3
Cc: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Andrew Morton [Thu, 13 Sep 2012 00:58:13 +0000 (10:58 +1000)]
idr-rename-max_level-to-max_idr_level-fix-fix-2
ho hum
Cc: Bernd Petrovitsch <bernd@petrovitsch.priv.at>
Cc: Fengguang Wu <fengguang.wu@intel.com>
Cc: Glauber Costa <glommer@parallels.com>
Cc: walter harms <wharms@bfs.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Andrew Morton [Thu, 13 Sep 2012 00:58:12 +0000 (10:58 +1000)]
idr-rename-max_level-to-max_idr_level-fix
repair fallout
Cc: Bernd Petrovitsch <bernd@petrovitsch.priv.at>
Cc: Fengguang Wu <fengguang.wu@intel.com>
Cc: Glauber Costa <glommer@parallels.com>
Cc: walter harms <wharms@bfs.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Fengguang Wu [Thu, 13 Sep 2012 00:58:12 +0000 (10:58 +1000)]
idr: rename MAX_LEVEL to MAX_IDR_LEVEL
To avoid name conflicts:
drivers/video/riva/fbdev.c:281:9: sparse: preprocessor token MAX_LEVEL redefined
While at it, also make the other names more consistent and add
parentheses.
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Cc: Bernd Petrovitsch <bernd@petrovitsch.priv.at>
Cc: walter harms <wharms@bfs.de>
Cc: Glauber Costa <glommer@parallels.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Stephen Rothwell [Tue, 18 Sep 2012 05:55:05 +0000 (15:55 +1000)]
Merge remote-tracking branch 'signal/for-next'
Conflicts:
arch/cris/include/asm/Kbuild
arch/h8300/include/asm/Kbuild
arch/m32r/include/asm/Kbuild
arch/x86/kernel/signal.c
Stephen Rothwell [Tue, 18 Sep 2012 05:48:14 +0000 (15:48 +1000)]
Merge remote-tracking branch 'userns/for-next'
Stephen Rothwell [Tue, 18 Sep 2012 05:46:34 +0000 (15:46 +1000)]
Merge remote-tracking branch 'pwm/for-next'
Stephen Rothwell [Tue, 18 Sep 2012 05:44:56 +0000 (15:44 +1000)]
Merge remote-tracking branch 'dma-mapping/dma-mapping-next'
Conflicts:
Documentation/devicetree/bindings/ata/ahci-platform.txt
arch/arm/boot/dts/highbank.dts
Stephen Rothwell [Tue, 18 Sep 2012 05:43:12 +0000 (15:43 +1000)]
Merge remote-tracking branch 'kvmtool/master'
Stephen Rothwell [Tue, 18 Sep 2012 05:41:40 +0000 (15:41 +1000)]
Merge remote-tracking branch 'tegra/for-next'
Conflicts:
arch/arm/mach-tegra/devices.c
Stephen Rothwell [Tue, 18 Sep 2012 05:38:55 +0000 (15:38 +1000)]
Merge remote-tracking branch 'samsung/for-next'
Conflicts:
drivers/pinctrl/Makefile
Stephen Rothwell [Tue, 18 Sep 2012 05:37:12 +0000 (15:37 +1000)]
Merge remote-tracking branch 'renesas/next'
Stephen Rothwell [Tue, 18 Sep 2012 05:37:07 +0000 (15:37 +1000)]
Merge remote-tracking branch 'msm/for-next'
Conflicts:
arch/arm/mach-vt8500/include/mach/restart.h
Stephen Rothwell [Tue, 18 Sep 2012 05:30:06 +0000 (15:30 +1000)]
Merge remote-tracking branch 'ixp4xx/next'
Stephen Rothwell [Tue, 18 Sep 2012 05:28:29 +0000 (15:28 +1000)]
Merge remote-tracking branch 'ep93xx/ep93xx-for-next'
Stephen Rothwell [Tue, 18 Sep 2012 05:23:48 +0000 (15:23 +1000)]
Merge remote-tracking branch 'arm-soc/for-next'
Conflicts:
arch/arm/mach-imx/clk-imx51-imx53.c
arch/arm/mach-ux500/cpu-db8500.c
drivers/i2c/busses/i2c-omap.c
drivers/input/keyboard/omap-keypad.c
drivers/mmc/host/omap.c
drivers/mtd/nand/Kconfig
drivers/staging/tidspbridge/core/wdt.c
drivers/usb/host/Kconfig
drivers/video/omap2/dss/dispc.c
drivers/w1/masters/omap_hdq.c
Stephen Rothwell [Tue, 18 Sep 2012 05:22:02 +0000 (15:22 +1000)]
Merge remote-tracking branch 'gpio-lw/for-next'
Stephen Rothwell [Tue, 18 Sep 2012 05:20:24 +0000 (15:20 +1000)]
Merge remote-tracking branch 'remoteproc/for-next'
Stephen Rothwell [Tue, 18 Sep 2012 05:20:16 +0000 (15:20 +1000)]
Merge remote-tracking branch 'vhost/linux-next'
Conflicts:
drivers/net/tun.c
Stephen Rothwell [Tue, 18 Sep 2012 05:18:30 +0000 (15:18 +1000)]
Merge remote-tracking branch 'pinctrl/for-next'
Stephen Rothwell [Tue, 18 Sep 2012 05:16:46 +0000 (15:16 +1000)]
Merge remote-tracking branch 'writeback/writeback-for-next'
Stephen Rothwell [Tue, 18 Sep 2012 05:15:08 +0000 (15:15 +1000)]
Merge remote-tracking branch 'tmem/linux-next'
Stephen Rothwell [Tue, 18 Sep 2012 05:13:31 +0000 (15:13 +1000)]
Merge remote-tracking branch 'char-misc/char-misc-next'
Stephen Rothwell [Tue, 18 Sep 2012 05:08:55 +0000 (15:08 +1000)]
Merge remote-tracking branch 'staging/staging-next'
Conflicts:
drivers/staging/ipack/devices/ipoctal.c
drivers/staging/omap-thermal/omap-thermal-common.c
Stephen Rothwell [Tue, 18 Sep 2012 05:06:42 +0000 (15:06 +1000)]
Merge remote-tracking branch 'usb/usb-next'
Conflicts:
drivers/usb/serial/digi_acceleport.c
drivers/usb/serial/io_ti.c
drivers/usb/serial/kl5kusb105.c
drivers/usb/serial/mos7720.c
drivers/usb/serial/mos7840.c
Stephen Rothwell [Tue, 18 Sep 2012 05:04:19 +0000 (15:04 +1000)]
Merge remote-tracking branch 'tty/tty-next'
Stephen Rothwell [Tue, 18 Sep 2012 04:57:14 +0000 (14:57 +1000)]
Merge remote-tracking branch 'driver-core/driver-core-next'
Stephen Rothwell [Tue, 18 Sep 2012 04:55:19 +0000 (14:55 +1000)]
Merge remote-tracking branch 'leds/for-next'
Stephen Rothwell [Tue, 18 Sep 2012 04:53:34 +0000 (14:53 +1000)]
Merge remote-tracking branch 'regmap/for-next'
Stephen Rothwell [Tue, 18 Sep 2012 04:51:53 +0000 (14:51 +1000)]
Merge remote-tracking branch 'drivers-x86/linux-next'
Stephen Rothwell [Tue, 18 Sep 2012 04:44:42 +0000 (14:44 +1000)]
Merge remote-tracking branch 'workqueues/for-next'
Conflicts:
drivers/hid/hid-picolcd.c
drivers/isdn/mISDN/hwchannel.c
drivers/video/omap2/displays/panel-taal.c
Stephen Rothwell [Tue, 18 Sep 2012 04:36:43 +0000 (14:36 +1000)]
Merge remote-tracking branch 'xen-two/linux-next'
Stephen Rothwell [Tue, 18 Sep 2012 04:34:57 +0000 (14:34 +1000)]
Merge remote-tracking branch 'kvm-ppc/kvm-ppc-next'
Stephen Rothwell [Tue, 18 Sep 2012 04:33:16 +0000 (14:33 +1000)]
Merge remote-tracking branch 'kvm/linux-next'
Conflicts:
arch/s390/include/asm/processor.h
arch/x86/kvm/i8259.c
Stephen Rothwell [Tue, 18 Sep 2012 04:31:30 +0000 (14:31 +1000)]
Merge remote-tracking branch 'kmemleak/kmemleak'
Stephen Rothwell [Tue, 18 Sep 2012 04:24:15 +0000 (14:24 +1000)]
Merge remote-tracking branch 'rcu/rcu/next'
Conflicts:
arch/Kconfig
arch/x86/Kconfig
kernel/rcutree.h
kernel/rcutree_plugin.h
kernel/sched/core.c
Stephen Rothwell [Tue, 18 Sep 2012 04:16:53 +0000 (14:16 +1000)]
Merge remote-tracking branch 'tip/auto-latest'
Conflicts:
arch/Kconfig
arch/s390/Kconfig
Stephen Rothwell [Tue, 18 Sep 2012 04:06:08 +0000 (14:06 +1000)]
Merge remote-tracking branch 'spi-mb/spi-next'
Conflicts:
drivers/mmc/host/mxs-mmc.c
Stephen Rothwell [Tue, 18 Sep 2012 04:04:04 +0000 (14:04 +1000)]
Merge remote-tracking branch 'dt-rh/for-next'
Stephen Rothwell [Tue, 18 Sep 2012 04:03:57 +0000 (14:03 +1000)]
Merge remote-tracking branch 'edac-amd/for-next'
Conflicts:
Documentation/edac.txt
drivers/edac/amd64_edac.c
Stephen Rothwell [Tue, 18 Sep 2012 04:03:42 +0000 (14:03 +1000)]
Merge remote-tracking branch 'edac/linux_next'
Stephen Rothwell [Tue, 18 Sep 2012 04:02:06 +0000 (14:02 +1000)]
Merge remote-tracking branch 'fsnotify/for-next'
Conflicts:
kernel/audit_tree.c
Stephen Rothwell [Tue, 18 Sep 2012 04:00:07 +0000 (14:00 +1000)]
Merge remote-tracking branch 'apm/for-next'
Stephen Rothwell [Tue, 18 Sep 2012 03:53:04 +0000 (13:53 +1000)]
Merge remote-tracking branch 'pm/linux-next'
Stephen Rothwell [Tue, 18 Sep 2012 03:46:46 +0000 (13:46 +1000)]
Merge remote-tracking branch 'trivial/for-next'
Conflicts:
drivers/scsi/ipr.c
drivers/video/backlight/88pm860x_bl.c
Stephen Rothwell [Tue, 18 Sep 2012 03:40:25 +0000 (13:40 +1000)]
Merge remote-tracking branch 'osd/linux-next'
Stephen Rothwell [Tue, 18 Sep 2012 03:38:45 +0000 (13:38 +1000)]
Merge remote-tracking branch 'iommu/next'
Stephen Rothwell [Tue, 18 Sep 2012 03:37:07 +0000 (13:37 +1000)]
Merge remote-tracking branch 'watchdog/master'
Stephen Rothwell [Tue, 18 Sep 2012 03:37:01 +0000 (13:37 +1000)]
Merge remote-tracking branch 'selinux/master'
Stephen Rothwell [Tue, 18 Sep 2012 03:32:36 +0000 (13:32 +1000)]
Merge remote-tracking branch 'security/next'
Stephen Rothwell [Tue, 18 Sep 2012 03:30:54 +0000 (13:30 +1000)]
Merge remote-tracking branch 'regulator/for-next'
Conflicts:
Documentation/devicetree/bindings/regulator/tps6586x.txt
Stephen Rothwell [Tue, 18 Sep 2012 03:29:14 +0000 (13:29 +1000)]
Merge remote-tracking branch 'omap_dss2/for-next'
Stephen Rothwell [Tue, 18 Sep 2012 03:27:36 +0000 (13:27 +1000)]
Merge remote-tracking branch 'fbdev/fbdev-next'
Stephen Rothwell [Tue, 18 Sep 2012 03:26:00 +0000 (13:26 +1000)]
Merge remote-tracking branch 'battery/master'
Stephen Rothwell [Tue, 18 Sep 2012 03:18:59 +0000 (13:18 +1000)]
Merge remote-tracking branch 'mfd/for-next'
Conflicts:
Documentation/devicetree/bindings/regulator/tps6586x.txt
drivers/mfd/88pm860x-core.c
drivers/mfd/tc3589x.c
drivers/regulator/anatop-regulator.c
Stephen Rothwell [Tue, 18 Sep 2012 02:54:12 +0000 (12:54 +1000)]
Merge remote-tracking branch 'md/for-next'
Stephen Rothwell [Tue, 18 Sep 2012 02:52:31 +0000 (12:52 +1000)]
Merge remote-tracking branch 'slab/for-next'
Stephen Rothwell [Tue, 18 Sep 2012 02:50:55 +0000 (12:50 +1000)]
Merge remote-tracking branch 'kgdb/kgdb-next'
Stephen Rothwell [Tue, 18 Sep 2012 02:49:18 +0000 (12:49 +1000)]
Merge remote-tracking branch 'mmc/mmc-next'
Stephen Rothwell [Tue, 18 Sep 2012 02:47:34 +0000 (12:47 +1000)]
Merge branch 'quilt/device-mapper'
Stephen Rothwell [Tue, 18 Sep 2012 02:41:06 +0000 (12:41 +1000)]
Merge remote-tracking branch 'block/for-next'
Stephen Rothwell [Tue, 18 Sep 2012 02:36:49 +0000 (12:36 +1000)]
Merge remote-tracking branch 'cgroup/for-next'
Stephen Rothwell [Tue, 18 Sep 2012 02:34:53 +0000 (12:34 +1000)]
Merge remote-tracking branch 'input-mt/for-next'
Stephen Rothwell [Tue, 18 Sep 2012 02:33:12 +0000 (12:33 +1000)]
Merge remote-tracking branch 'input/next'
Stephen Rothwell [Tue, 18 Sep 2012 02:27:15 +0000 (12:27 +1000)]
Merge branch 'quilt/rr'
Conflicts:
arch/alpha/Kconfig
arch/mips/kernel/module.c
arch/s390/Kconfig
arch/xtensa/Kconfig
Stephen Rothwell [Tue, 18 Sep 2012 02:25:39 +0000 (12:25 +1000)]
Merge remote-tracking branch 'sound-asoc/for-next'
Conflicts:
arch/arm/mach-imx/mach-imx27_visstrim_m10.c
Stephen Rothwell [Tue, 18 Sep 2012 02:14:02 +0000 (12:14 +1000)]
Merge remote-tracking branch 'sound/for-next'
Stephen Rothwell [Tue, 18 Sep 2012 02:12:21 +0000 (12:12 +1000)]
Merge remote-tracking branch 'drm/drm-next'
Conflicts:
drivers/gpu/drm/i915/i915_dma.c
Stephen Rothwell [Tue, 18 Sep 2012 02:10:38 +0000 (12:10 +1000)]
Merge remote-tracking branch 'crypto/master'
Conflicts:
crypto/Kconfig
Stephen Rothwell [Tue, 18 Sep 2012 02:08:59 +0000 (12:08 +1000)]
Merge remote-tracking branch 'l2-mtd/master'
Stephen Rothwell [Tue, 18 Sep 2012 02:07:24 +0000 (12:07 +1000)]
Merge remote-tracking branch 'mtd/master'
Stephen Rothwell [Tue, 18 Sep 2012 02:05:44 +0000 (12:05 +1000)]
Merge remote-tracking branch 'bluetooth/master'
Stephen Rothwell [Tue, 18 Sep 2012 01:58:25 +0000 (11:58 +1000)]
Merge remote-tracking branch 'net-next/master'
Conflicts:
net/socket.c
Stephen Rothwell [Tue, 18 Sep 2012 01:56:45 +0000 (11:56 +1000)]
Merge remote-tracking branch 'slave-dma/next'
Stephen Rothwell [Tue, 18 Sep 2012 01:55:01 +0000 (11:55 +1000)]
Merge remote-tracking branch 'target-updates/for-next'
Stephen Rothwell [Tue, 18 Sep 2012 01:53:10 +0000 (11:53 +1000)]
Merge remote-tracking branch 'scsi/for-next'
Conflicts:
drivers/scsi/ipr.c
drivers/scsi/qla2xxx/qla_nx.c
Stephen Rothwell [Tue, 18 Sep 2012 01:51:35 +0000 (11:51 +1000)]
Merge remote-tracking branch 'dlm/next'
Stephen Rothwell [Tue, 18 Sep 2012 01:49:58 +0000 (11:49 +1000)]
Merge remote-tracking branch 'ubi/linux-next'
Stephen Rothwell [Tue, 18 Sep 2012 01:48:18 +0000 (11:48 +1000)]
Merge remote-tracking branch 'thermal/next'
Stephen Rothwell [Tue, 18 Sep 2012 01:48:11 +0000 (11:48 +1000)]
Merge remote-tracking branch 'cpuidle/cpuidle-next'
Conflicts:
drivers/cpuidle/coupled.c
include/linux/cpuidle.h
Stephen Rothwell [Tue, 18 Sep 2012 01:46:30 +0000 (11:46 +1000)]
Merge remote-tracking branch 'pstore/master'
Stephen Rothwell [Tue, 18 Sep 2012 01:44:43 +0000 (11:44 +1000)]
Merge remote-tracking branch 'libata/NEXT'
Stephen Rothwell [Tue, 18 Sep 2012 01:43:11 +0000 (11:43 +1000)]
Merge remote-tracking branch 'kconfig/for-next'
Stephen Rothwell [Tue, 18 Sep 2012 01:41:29 +0000 (11:41 +1000)]
Merge remote-tracking branch 'kbuild/for-next'
Stephen Rothwell [Tue, 18 Sep 2012 01:39:28 +0000 (11:39 +1000)]
Merge remote-tracking branch 'v4l-dvb/master'
Conflicts:
arch/arm/mach-imx/mach-imx27_visstrim_m10.c
Stephen Rothwell [Tue, 18 Sep 2012 01:37:57 +0000 (11:37 +1000)]
Merge remote-tracking branch 'hwmon-staging/hwmon-next'
Stephen Rothwell [Tue, 18 Sep 2012 01:36:33 +0000 (11:36 +1000)]
Merge branch 'quilt/jdelvare-hwmon'
Stephen Rothwell [Tue, 18 Sep 2012 01:35:09 +0000 (11:35 +1000)]
Merge remote-tracking branch 'i2c-embedded/i2c-embedded/for-next'
Stephen Rothwell [Tue, 18 Sep 2012 01:33:41 +0000 (11:33 +1000)]
Merge branch 'quilt/i2c'
Stephen Rothwell [Tue, 18 Sep 2012 01:32:12 +0000 (11:32 +1000)]
Merge remote-tracking branch 'hid/for-next'
Stephen Rothwell [Tue, 18 Sep 2012 01:28:55 +0000 (11:28 +1000)]
Merge remote-tracking branch 'pci/next'
Stephen Rothwell [Tue, 18 Sep 2012 01:24:45 +0000 (11:24 +1000)]
Merge remote-tracking branch 'vfs/for-next'
Stephen Rothwell [Tue, 18 Sep 2012 01:23:10 +0000 (11:23 +1000)]
Merge remote-tracking branch 'xfs/for-next'
Stephen Rothwell [Tue, 18 Sep 2012 01:21:44 +0000 (11:21 +1000)]
Merge remote-tracking branch 'ubifs/linux-next'
Stephen Rothwell [Tue, 18 Sep 2012 01:20:20 +0000 (11:20 +1000)]
Merge remote-tracking branch 'v9fs/for-next'
Stephen Rothwell [Tue, 18 Sep 2012 01:18:44 +0000 (11:18 +1000)]
Merge remote-tracking branch 'ocfs2/linux-next'
Stephen Rothwell [Tue, 18 Sep 2012 01:17:14 +0000 (11:17 +1000)]
Merge remote-tracking branch 'nfsd/nfsd-next'