summaryrefslogtreecommitdiffstats
path: root/fs/sysv
diff options
context:
space:
mode:
authorRan Xiaokai <ran.xiaokai@zte.com.cn>2021-11-09 03:35:22 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2021-11-09 19:02:52 +0100
commitba1f70ddd1809c03660ddcfb757e1c1ced8b676d (patch)
tree93b3633ae001b74a97a45ba02c5ca37808bd0a78 /fs/sysv
parentseq_file: fix passing wrong private data (diff)
downloadlinux-ba1f70ddd1809c03660ddcfb757e1c1ced8b676d.tar.xz
linux-ba1f70ddd1809c03660ddcfb757e1c1ced8b676d.zip
kernel/fork.c: unshare(): use swap() to make code cleaner
Use swap() instead of reimplementing it. Link: https://lkml.kernel.org/r/20210909022046.8151-1-ran.xiaokai@zte.com.cn Signed-off-by: Ran Xiaokai <ran.xiaokai@zte.com.cn> Cc: Gabriel Krisman Bertazi <krisman@collabora.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Eric W. Biederman <ebiederm@xmission.com> Cc: Jens Axboe <axboe@kernel.dk> Cc: Alexey Gladkov <legion@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/sysv')
0 files changed, 0 insertions, 0 deletions