]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
scsi: sd: Move the sd_fops definition
authorBart Van Assche <bvanassche@acm.org>
Wed, 14 Jan 2026 17:50:52 +0000 (09:50 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Sat, 17 Jan 2026 04:15:16 +0000 (23:15 -0500)
commit6e07e5333cc3154e042a5e7de073459765616fa7
tree882746e420f11c0ac3d98d1bec5be28b3ba2e5f6
parent3899cff5056f417071c74371a4a9744225823a40
scsi: sd: Move the sd_fops definition

Move the sd_fops definition such that the sd_unlock_native_capacity()
forward declaration can be removed.

Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://patch.msgid.link/20260114175054.4118163-5-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/sd.c