ruanmeisi
8d576e5e87
fuse: nlookup missing decrement in fuse_direntplus_link
...
commit b8bd342d50cbf606666488488f9fea374aceb2d5 upstream.
During our debugging of glusterfs, we found an Assertion failed error:
inode_lookup >= nlookup, which was caused by the nlookup value in the
kernel being greater than that in the FUSE file system.
The issue was introduced by fuse_direntplus_link, where in the function,
fuse_iget increments nlookup, and if d_splice_alias returns failure,
fuse_direntplus_link returns failure without decrementing nlookup
https://github.com/gluster/glusterfs/pull/4081
Signed-off-by: ruanmeisi <ruan.meisi@zte.com.cn>
Fixes: 0b05b18381ee ("fuse: implement NFS-like readdirplus support")
Cc: <stable@vger.kernel.org> # v3.9
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 437d8898fbf40b92516aef697b5638acccb7a6f9)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
2024-01-18 11:22:33 +00:00
..
2022-06-25 11:46:24 +02:00
2019-08-06 19:05:21 +02:00
2023-02-06 07:46:28 +01:00
2023-08-11 11:33:32 +02:00
2023-09-23 10:47:03 +02:00
2023-12-08 08:42:00 +01:00
2020-11-05 11:07:05 +01:00
2023-10-25 11:13:30 +02:00
2023-09-23 10:46:54 +02:00
2019-08-06 19:05:23 +02:00
2022-03-02 11:33:56 +01:00
2021-07-20 16:17:45 +02:00
2019-05-08 07:20:49 +02:00
2019-03-23 14:35:21 +01:00
2023-08-11 11:33:45 +02:00
2021-05-26 11:47:00 +02:00
2020-12-02 08:34:44 +01:00
2019-12-05 15:37:28 +01:00
2020-01-27 14:46:06 +01:00
2023-09-23 10:47:04 +02:00
2023-12-20 15:32:38 +01:00
2023-11-08 11:21:07 +01:00
2023-08-11 11:33:32 +02:00
2024-01-18 11:22:33 +00:00
2023-11-28 16:45:44 +00:00
2023-03-11 16:26:44 +01:00
2023-08-11 11:33:32 +02:00
2021-06-03 08:36:25 +02:00
2023-08-11 11:33:32 +02:00
2023-11-28 16:45:45 +00:00
2023-08-11 11:33:41 +02:00
2023-11-28 16:45:43 +00:00
2022-11-03 23:50:53 +09:00
2023-09-23 10:46:57 +02:00
2020-08-21 09:48:15 +02:00
2023-11-08 11:21:06 +01:00
2020-12-29 13:47:01 +01:00
2023-11-08 11:21:07 +01:00
2023-12-13 16:46:17 +01:00
2023-09-23 10:46:53 +02:00
2022-06-14 16:53:48 +02:00
2022-11-25 17:36:55 +01:00
2023-09-23 10:46:55 +02:00
2023-08-11 11:33:32 +02:00
2023-01-18 09:26:33 +01:00
2023-10-25 11:13:32 +02:00
2023-09-23 10:47:00 +02:00
2023-09-23 10:47:01 +02:00
2021-10-06 15:05:08 +02:00
2023-08-30 16:35:09 +02:00
2020-10-29 09:07:11 +01:00
2023-09-23 10:46:54 +02:00
2020-08-26 10:29:54 +02:00
2023-02-22 12:46:05 +01:00
2023-03-22 13:26:13 +01:00
2023-08-11 11:33:56 +02:00
2022-09-20 11:51:31 +02:00
2023-08-11 11:33:32 +02:00
2023-09-23 10:46:54 +02:00
2020-08-21 09:48:22 +02:00
2023-08-11 11:33:32 +02:00
2023-02-22 12:46:05 +01:00
2023-09-23 10:47:05 +02:00
2023-10-10 21:43:40 +02:00
2020-06-03 08:18:03 +02:00
2022-06-14 16:53:43 +02:00
2023-01-18 09:26:29 +01:00
2019-11-06 12:42:59 +01:00
2024-01-08 11:25:05 +01:00
2022-11-25 17:36:55 +01:00
2023-01-18 09:26:24 +01:00
2020-01-09 10:17:58 +01:00
2020-05-20 08:16:58 +02:00
2020-03-11 18:02:43 +01:00
2019-02-06 17:31:34 +01:00
2021-04-16 11:57:48 +02:00
2020-01-12 12:11:59 +01:00
2020-10-14 09:51:09 +02:00
2022-06-06 08:20:57 +02:00
2021-12-08 08:46:55 +01:00
2023-03-17 08:30:36 +01:00
2020-04-24 08:00:43 +02:00
2023-05-17 11:11:48 +02:00
2022-10-26 13:16:51 +02:00
2019-12-17 20:38:57 +01:00
2023-01-18 09:26:10 +01:00
2020-01-09 10:17:55 +01:00
2023-09-23 10:46:54 +02:00
2022-05-15 19:40:27 +02:00
2020-03-20 10:54:16 +01:00
2021-08-15 13:03:31 +02:00
2023-01-18 09:26:35 +01:00
2019-12-01 09:13:51 +01:00
2021-04-28 12:08:41 +02:00
2021-03-24 11:05:05 +01:00
2021-07-20 16:17:55 +02:00
2021-12-14 10:16:55 +01:00
2022-10-26 13:16:56 +02:00
2022-04-27 13:15:30 +02:00
2023-05-30 12:38:36 +01:00
2022-02-23 11:57:33 +01:00
2020-01-04 13:59:58 +01:00
2023-01-18 09:26:09 +01:00