]> git.baikalelectronics.ru Git - kernel.git/commit
libfs: Move shmem_exchange to simple_rename_exchange
authorLorenz Bauer <lmb@cloudflare.com>
Thu, 28 Oct 2021 09:47:21 +0000 (10:47 +0100)
committerDaniel Borkmann <daniel@iogearbox.net>
Wed, 3 Nov 2021 14:43:00 +0000 (15:43 +0100)
commit6e2d05cb200e2a7b2fbfa0ace1c953f7c2b0025d
tree0a3b4bec45a6400ff157f66d5d994397b6c2dcbb
parent0accd7165f27533742b7bd5c8946e7afff3af609
libfs: Move shmem_exchange to simple_rename_exchange

Move shmem_exchange and make it available to other callers.

Suggested-by: Miklos Szeredi <mszeredi@redhat.com>
Signed-off-by: Lorenz Bauer <lmb@cloudflare.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Miklos Szeredi <mszeredi@redhat.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Christian Brauner <christian.brauner@ubuntu.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/bpf/20211028094724.59043-2-lmb@cloudflare.com
fs/libfs.c
include/linux/fs.h
mm/shmem.c