diff options
author | Mikulas Patocka <[email protected]> | 2018-08-10 11:23:56 -0400 |
---|---|---|
committer | Mike Snitzer <[email protected]> | 2018-08-13 15:28:41 -0400 |
commit | bc9e9cf0401f18e33b78d4c8a518661b8346baf7 (patch) | |
tree | 963521449bca32037e0ac110e9faefc8f7a898c7 /tools/perf/util/trace-event-scripting.c | |
parent | 5b1fe7bec8a8d0cc547a22e7ddc2bd59acd67de4 (diff) |
dm crypt: don't decrease device limits
dm-crypt should only increase device limits, it should not decrease them.
This fixes a bug where the user could creates a crypt device with 1024
sector size on the top of scsi device that had 4096 logical block size.
The limit 4096 would be lost and the user could incorrectly send
1024-I/Os to the crypt device.
Cc: [email protected]
Signed-off-by: Mikulas Patocka <[email protected]>
Signed-off-by: Mike Snitzer <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions