diff options
| author | Mikulas Patocka <[email protected]> | 2025-03-14 12:51:32 +0000 |
|---|---|---|
| committer | Mikulas Patocka <[email protected]> | 2025-03-14 12:58:33 +0000 |
| commit | 45fc728515c14f53f6205789de5bfd72a95af3b8 (patch) | |
| tree | 1e897f26ec835c5eec09c2b258a98a20b6a41cb7 /drivers/net/dsa/dsa_loop.c | |
| parent | dm cache: support shrinking the origin device (diff) | |
| download | kernel-45fc728515c14f53f6205789de5bfd72a95af3b8.tar.gz kernel-45fc728515c14f53f6205789de5bfd72a95af3b8.zip | |
dm: restrict dm device size to 2^63-512 bytes
The devices with size >= 2^63 bytes can't be used reliably by userspace
because the type off_t is a signed 64-bit integer.
Therefore, we limit the maximum size of a device mapper device to
2^63-512 bytes.
Signed-off-by: Mikulas Patocka <[email protected]>
Diffstat (limited to 'drivers/net/dsa/dsa_loop.c')
0 files changed, 0 insertions, 0 deletions
