mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
target: Remove obsolete DF_READ_ONLY usage
This was used at one time as a hack by FILEIO backend registration to allow a struct block_device that was claimed with blkdev_get (by a local filesystem mount for example) to be exported as read-only (SCSI WP=1). Since FILEIO backend registration will no longer attempt to obtain exclusive access to an underlying struct block_device here, this flag is now obsolete. Reported-by: Roland Dreier <[email protected]> Signed-off-by: Nicholas Bellinger <[email protected]>
This commit is contained in:
parent
0034102808
commit
58d9261877
3 changed files with 5 additions and 14 deletions
|
|
@ -73,9 +73,8 @@
|
|||
/*
|
||||
* struct se_device->dev_flags
|
||||
*/
|
||||
#define DF_READ_ONLY 0x00000001
|
||||
#define DF_SPC2_RESERVATIONS 0x00000002
|
||||
#define DF_SPC2_RESERVATIONS_WITH_ISID 0x00000004
|
||||
#define DF_SPC2_RESERVATIONS 0x00000001
|
||||
#define DF_SPC2_RESERVATIONS_WITH_ISID 0x00000002
|
||||
|
||||
/* struct se_dev_attrib sanity values */
|
||||
/* Default max_unmap_lba_count */
|
||||
|
|
|
|||
Loading…
Reference in a new issue