summaryrefslogtreecommitdiff
path: root/kernel/fork.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2026-03-05 17:22:14 +0100
committerTakashi Iwai <tiwai@suse.de>2026-03-05 17:22:14 +0100
commit8457669db968c98edb781892d73fa559e1efcbd4 (patch)
treeadcc5996b2cc6ceb3702421a77144531dd241217 /kernel/fork.c
parent3d543d9515928e4754a741c338dbcdf68ac47e39 (diff)
parent325291b20f8a6f14b9c82edbf5d12e4e71f6adaa (diff)
Merge tag 'asoc-fix-v7.0-rc2' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus
ASoC: Fixes for v7.0 A moderately large pile of fixes, though none of them are super major, plus a few new quirks and device IDs.
Diffstat (limited to 'kernel/fork.c')
-rw-r--r--kernel/fork.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/fork.c b/kernel/fork.c
index e832da9d15a4..65113a304518 100644
--- a/kernel/fork.c
+++ b/kernel/fork.c
@@ -3085,7 +3085,7 @@ static int unshare_fs(unsigned long unshare_flags, struct fs_struct **new_fsp)
return 0;
/* don't need lock here; in the worst case we'll do useless copy */
- if (fs->users == 1)
+ if (!(unshare_flags & CLONE_NEWNS) && fs->users == 1)
return 0;
*new_fsp = copy_fs_struct(fs);