Lorenz Bauer 3871cb8cf7 libfs: Support RENAME_EXCHANGE in simple_rename()
Allow atomic exchange via RENAME_EXCHANGE when using simple_rename.
This affects binderfs, ramfs, hubetlbfs and bpffs.

Signed-off-by: Lorenz Bauer <lmb@cloudflare.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Christian Brauner <christian.brauner@ubuntu.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Miklos Szeredi <mszeredi@redhat.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/bpf/20211028094724.59043-3-lmb@cloudflare.com
2021-11-03 15:43:08 +01:00
..
2021-11-01 08:47:59 -07:00
2021-08-19 09:02:55 +09:00
2021-11-01 17:12:56 -07:00
2021-11-01 21:06:18 -07:00
2021-10-25 19:11:50 -07:00
2021-04-12 15:04:29 +02:00
2021-11-01 11:36:35 -07:00
2021-11-01 11:36:35 -07:00
2021-11-01 10:25:27 -07:00
2021-11-01 10:17:11 -07:00
2021-11-01 09:19:50 -07:00
2021-08-26 22:28:02 +02:00
2021-11-01 09:50:37 -07:00
2021-09-22 09:21:02 -07:00
2021-11-01 21:06:18 -07:00
2021-09-10 09:46:48 -07:00
2021-10-18 14:43:23 -06:00
2021-11-01 10:25:27 -07:00
2021-10-18 14:43:23 -06:00
2021-10-18 14:43:23 -06:00
2021-08-19 09:02:55 +09:00
2021-10-18 14:43:22 -06:00
2021-08-31 11:13:35 -07:00
2021-09-09 13:25:49 -07:00
2021-09-11 14:48:42 -07:00
2021-10-26 19:08:08 +02:00
2021-11-01 21:06:18 -07:00
2021-11-01 21:06:18 -07:00
2021-10-19 05:49:54 -06:00
2021-08-31 11:06:32 -07:00
2021-10-19 14:11:39 -04:00
2021-11-01 09:06:53 -07:00
2021-08-18 22:08:24 +02:00
2021-02-21 11:02:48 -08:00
2021-02-13 17:17:53 +01:00
2021-08-10 17:57:22 +02:00