Files
linux-bredos/include/uapi/linux
Miklos Szeredi 98d2b43081 add unique mount ID
If a mount is released then its mnt_id can immediately be reused.  This is
bad news for user interfaces that want to uniquely identify a mount.

Implementing a unique mount ID is trivial (use a 64bit counter).
Unfortunately userspace assumes 32bit size and would overflow after the
counter reaches 2^32.

Introduce a new 64bit ID alongside the old one.  Initialize the counter to
2^32, this guarantees that the old and new IDs are never mixed up.

Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Link: https://lore.kernel.org/r/20231025140205.3586473-2-mszeredi@redhat.com
Reviewed-by: Ian Kent <raven@themaw.net>
Signed-off-by: Christian Brauner <brauner@kernel.org>
2023-11-18 14:56:16 +01:00
..
2023-05-14 16:05:28 +01:00
2023-05-30 15:20:08 +01:00
2023-04-22 14:41:30 -07:00
2023-01-20 09:33:22 +00:00
2023-03-06 15:49:07 -06:00
2023-09-24 18:17:31 -07:00
2023-03-16 21:20:32 -07:00
2023-08-16 12:39:38 +02:00
2023-09-21 19:22:05 +02:00
2023-10-24 12:02:02 +02:00
2023-10-05 13:34:04 +02:00
2023-06-09 16:25:16 -07:00
2023-08-14 18:48:02 +02:00
2023-04-27 19:15:11 -06:00
2023-10-23 11:48:49 +02:00
2023-10-28 13:31:05 -05:00
2023-11-18 14:56:16 +01:00
2023-08-04 16:20:39 +02:00
2023-10-27 10:35:46 +01:00
2023-06-05 09:36:35 +02:00
2023-03-23 17:25:46 +01:00