diff options
author | Mikulas Patocka <mpatocka@redhat.com> | 2025-03-14 15:51:32 +0300 |
---|---|---|
committer | Mikulas Patocka <mpatocka@redhat.com> | 2025-03-14 15:58:33 +0300 |
commit | 45fc728515c14f53f6205789de5bfd72a95af3b8 (patch) | |
tree | 1e897f26ec835c5eec09c2b258a98a20b6a41cb7 /drivers/platform/x86/intel/pmt/class.c | |
parent | c2662b1544cbd8ea3181381bb899b8e681dfedc7 (diff) | |
download | linux-45fc728515c14f53f6205789de5bfd72a95af3b8.tar.xz |
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 <mpatocka@redhat.com>
Diffstat (limited to 'drivers/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions