diff options
| author | Rafael J. Wysocki <rjw@sisk.pl> | 2011-12-21 03:51:23 -0500 |
|---|---|---|
| committer | Rafael J. Wysocki <rjw@sisk.pl> | 2011-12-21 03:51:23 -0500 |
| commit | dfa9d178cd28caf5d76bc4f37f4b3e7e8df8e697 (patch) | |
| tree | d97ca7790d8a622cba9fdd19832decdb0aa6418a /ipc | |
| parent | 3f19f08a7ec74cfc50fbad3c5e615760afbd23a0 (diff) | |
| parent | 7b4050381127ae11fcfc74a106d715a5fbbf888a (diff) | |
Merge branch 'devfreq-for-next' of git://git.infradead.org/users/kmpark/linux-samsung into pm-devfreq
* 'devfreq-for-next' of git://git.infradead.org/users/kmpark/linux-samsung: (765 commits)
PM/Devfreq: Add Exynos4-bus device DVFS driver for Exynos4210/4212/4412.
pci: Fix hotplug of Express Module with pci bridges
i2c-eg20t: correct the driver init order of pch_i2c_probe()
I2C: OMAP: fix FIFO usage for OMAP4
i2c-s3c2410: Fix return code of s3c24xx_i2c_parse_dt_gpio
i2c: i2c-s3c2410: Add a cpu_relax() to busy wait for bus idle
Linux 3.2-rc6
Revert "drm/i915: fix infinite recursion on unbind due to ilk vt-d w/a"
btrfs: lower the dirty balance poll interval
drm/i915/dp: Dither down to 6bpc if it makes the mode fit
drm/i915: enable semaphores on per-device defaults
drm/i915: don't set unpin_work if vblank_get fails
drm/i915: By default, enable RC6 on IVB and SNB when reasonable
iommu: Export intel_iommu_enabled to signal when iommu is in use
drm/i915/sdvo: Include LVDS panels for the IS_DIGITAL check
drm/i915: prevent division by zero when asking for chipset power
drm/i915: add PCH info to i915_capabilities
drm/i915: set the right SDVO transcoder for CPT
drm/i915: no-lvds quirk for ASUS AT5NM10T-I
sched: Fix select_idle_sibling() regression in selecting an idle SMT sibling
...
Diffstat (limited to 'ipc')
| -rw-r--r-- | ipc/mqueue.c | 8 | ||||
| -rw-r--r-- | ipc/msgutil.c | 5 |
2 files changed, 3 insertions, 10 deletions
diff --git a/ipc/mqueue.c b/ipc/mqueue.c index 2e0ecfcc881d..5b4293d9819d 100644 --- a/ipc/mqueue.c +++ b/ipc/mqueue.c | |||
| @@ -1269,7 +1269,7 @@ void mq_clear_sbinfo(struct ipc_namespace *ns) | |||
| 1269 | 1269 | ||
| 1270 | void mq_put_mnt(struct ipc_namespace *ns) | 1270 | void mq_put_mnt(struct ipc_namespace *ns) |
| 1271 | { | 1271 | { |
| 1272 | mntput(ns->mq_mnt); | 1272 | kern_unmount(ns->mq_mnt); |
| 1273 | } | 1273 | } |
| 1274 | 1274 | ||
| 1275 | static int __init init_mqueue_fs(void) | 1275 | static int __init init_mqueue_fs(void) |
| @@ -1291,11 +1291,9 @@ static int __init init_mqueue_fs(void) | |||
| 1291 | 1291 | ||
| 1292 | spin_lock_init(&mq_lock); | 1292 | spin_lock_init(&mq_lock); |
| 1293 | 1293 | ||
| 1294 | init_ipc_ns.mq_mnt = kern_mount_data(&mqueue_fs_type, &init_ipc_ns); | 1294 | error = mq_init_ns(&init_ipc_ns); |
| 1295 | if (IS_ERR(init_ipc_ns.mq_mnt)) { | 1295 | if (error) |
| 1296 | error = PTR_ERR(init_ipc_ns.mq_mnt); | ||
| 1297 | goto out_filesystem; | 1296 | goto out_filesystem; |
| 1298 | } | ||
| 1299 | 1297 | ||
| 1300 | return 0; | 1298 | return 0; |
| 1301 | 1299 | ||
diff --git a/ipc/msgutil.c b/ipc/msgutil.c index 8b5ce5d3f3ef..5652101cdac0 100644 --- a/ipc/msgutil.c +++ b/ipc/msgutil.c | |||
| @@ -27,11 +27,6 @@ DEFINE_SPINLOCK(mq_lock); | |||
| 27 | */ | 27 | */ |
| 28 | struct ipc_namespace init_ipc_ns = { | 28 | struct ipc_namespace init_ipc_ns = { |
| 29 | .count = ATOMIC_INIT(1), | 29 | .count = ATOMIC_INIT(1), |
| 30 | #ifdef CONFIG_POSIX_MQUEUE | ||
| 31 | .mq_queues_max = DFLT_QUEUESMAX, | ||
| 32 | .mq_msg_max = DFLT_MSGMAX, | ||
| 33 | .mq_msgsize_max = DFLT_MSGSIZEMAX, | ||
| 34 | #endif | ||
| 35 | .user_ns = &init_user_ns, | 30 | .user_ns = &init_user_ns, |
| 36 | }; | 31 | }; |
| 37 | 32 | ||
