aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorDamien Le Moal <[email protected]>2017-01-12 06:25:10 +0000
committerMartin K. Petersen <[email protected]>2017-01-17 19:05:02 +0000
commit26f2819772af891dee2843e1f8662c58e5129d5f (patch)
treecb4b565f6982b8700cad33aa108d5bd5b7c6772a /net/unix/af_unix.c
parentscsi: bfa: fix wrongly initialized variable in bfad_im_bsg_els_ct_request() (diff)
downloadkernel-26f2819772af891dee2843e1f8662c58e5129d5f.tar.gz
kernel-26f2819772af891dee2843e1f8662c58e5129d5f.zip
scsi: sd: Fix wrong DPOFUA disable in sd_read_cache_type
Zoned block devices force the use of READ/WRITE(16) commands by setting sdkp->use_16_for_rw and clearing sdkp->use_10_for_rw. This result in DPOFUA always being disabled for these drives as the assumed use of the deprecated READ/WRITE(6) commands only looks at sdkp->use_10_for_rw. Strenghten the test by also checking that sdkp->use_16_for_rw is false. Signed-off-by: Damien Le Moal <[email protected]> Reviewed-by: Hannes Reinecke <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions