diff options
author | Martin K. Petersen <martin.petersen@oracle.com> | 2014-04-09 06:59:31 +0400 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2014-04-09 18:00:06 +0400 |
commit | e69f18f06b97ed29645d020500222bfcec2b42b2 (patch) | |
tree | 1541e97cc116a058f42302aed325dc71fb7dfd91 /block/blk-flush.c | |
parent | 0bc69973066d62f70ce60bd6762b5cb75a699159 (diff) | |
download | linux-e69f18f06b97ed29645d020500222bfcec2b42b2.tar.xz |
block: Ensure we only enable integrity metadata for reads and writes
We'd occasionally attempt to generate protection information for flushes
and other requests with a zero payload. Make sure we only attempt to
enable integrity for reads and writes.
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/blk-flush.c')
0 files changed, 0 insertions, 0 deletions