Al Viro
61f5f6c1a8
nfsd: lock_rename() needs both directories to live on the same fs
...
commit 1aee9158bc978f91701c5992e395efbc6da2de3c upstream.
... checking that after lock_rename() is too late. Incidentally,
NFSv2 had no nfserr_xdev...
Fixes: aa387d6ce153 "nfsd: fix EXDEV checking in rename"
Cc: stable@vger.kernel.org # v3.9+
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Acked-by: Chuck Lever <chuck.lever@oracle.com>
Tested-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-11-08 11:22:18 +01:00
..
2022-06-25 11:48:57 +02:00
2019-08-06 19:06:49 +02:00
2023-02-06 07:49:38 +01:00
2023-08-11 11:45:01 +02:00
2023-09-23 10:48:15 +02:00
2023-10-25 11:16:59 +02:00
2020-11-05 11:08:54 +01:00
2023-10-25 11:16:31 +02:00
2023-11-08 11:22:18 +01:00
2019-08-06 19:06:51 +02:00
2022-03-02 11:38:13 +01:00
2021-09-22 11:47:56 +02:00
2023-09-23 10:47:59 +02:00
2023-09-23 10:48:11 +02:00
2021-05-26 11:48:34 +02:00
2020-12-02 08:48:12 +01:00
2019-12-05 09:20:32 +01:00
2020-01-27 14:50:02 +01:00
2023-09-23 10:48:16 +02:00
2023-10-10 21:45:00 +02:00
2023-11-08 11:22:18 +01:00
2023-08-11 11:45:01 +02:00
2021-09-22 11:48:02 +02:00
2023-08-11 11:45:24 +02:00
2023-08-30 16:31:43 +02:00
2023-03-11 16:31:49 +01:00
2023-08-11 11:45:01 +02:00
2021-06-03 08:38:12 +02:00
2023-08-11 11:45:01 +02:00
2022-08-25 11:15:19 +02:00
2023-08-11 11:45:15 +02:00
2023-09-23 10:48:16 +02:00
2023-09-23 10:47:59 +02:00
2023-09-23 10:48:06 +02:00
2022-04-15 14:15:03 +02:00
2023-11-08 11:22:17 +01:00
2020-12-30 11:26:02 +01:00
2023-11-08 11:22:18 +01:00
2023-10-10 21:44:59 +02:00
2023-09-23 10:47:58 +02:00
2022-06-14 16:59:20 +02:00
2022-11-25 17:40:30 +01:00
2023-09-23 10:48:01 +02:00
2023-08-11 11:45:01 +02:00
2023-01-18 11:30:37 +01:00
2023-10-25 11:16:53 +02:00
2023-09-23 10:48:11 +02:00
2023-09-23 10:48:11 +02:00
2021-10-06 15:31:20 +02:00
2023-10-25 11:16:20 +02:00
2020-10-30 10:38:21 +01:00
2023-09-23 10:47:59 +02:00
2020-08-26 10:30:59 +02:00
2023-02-22 12:47:20 +01:00
2023-03-22 13:27:08 +01:00
2023-08-11 11:45:39 +02:00
2022-09-20 12:26:48 +02:00
2023-08-11 11:45:01 +02:00
2023-09-23 10:48:12 +02:00
2020-08-21 11:05:38 +02:00
2023-08-11 11:45:01 +02:00
2023-02-22 12:47:19 +01:00
2023-09-23 10:48:17 +02:00
2023-01-18 11:30:42 +01:00
2023-10-10 21:45:00 +02:00
2021-10-06 15:31:24 +02:00
2023-01-18 11:30:42 +01:00
2023-01-18 11:30:33 +01:00
2019-11-06 13:05:37 +01:00
2021-05-22 10:59:49 +02:00
2022-11-25 17:40:29 +01:00
2023-01-18 11:30:27 +01:00
2020-01-09 10:19:07 +01:00
2020-05-14 07:57:21 +02:00
2022-06-14 16:59:24 +02:00
2020-11-05 11:08:35 +01:00
2021-04-14 08:22:32 +02:00
2020-01-12 12:17:20 +01:00
2023-09-23 10:47:59 +02:00
2020-10-07 08:00:09 +02:00
2022-06-06 08:24:21 +02:00
2021-09-22 11:47:50 +02:00
2021-12-08 08:50:13 +01:00
2023-03-17 08:31:41 +01:00
2020-04-17 10:48:51 +02:00
2023-05-17 11:13:23 +02:00
2022-10-26 13:19:16 +02:00
2019-05-31 06:46:05 -07:00
2021-05-22 10:59:50 +02:00
2023-01-18 11:30:06 +01:00
2020-01-09 10:19:00 +01:00
2023-01-18 11:30:51 +01:00
2023-09-23 10:47:59 +02:00
2022-05-15 19:41:59 +02:00
2019-05-25 18:23:26 +02:00
2020-03-18 07:14:21 +01:00
2021-08-12 13:19:43 +02:00
2023-01-18 11:30:40 +01:00
2019-12-01 09:17:04 +01:00
2021-04-28 13:16:50 +02:00
2022-01-29 10:19:18 +01:00
2021-07-20 16:16:16 +02:00
2021-12-14 10:18:07 +01:00
2022-10-26 13:19:21 +02:00
2022-04-27 13:39:44 +02:00
2023-05-30 12:42:11 +01:00
2022-02-23 11:58:38 +01:00
2021-09-22 11:48:02 +02:00
2023-01-18 11:30:04 +01:00