bsg: mark struct file_operations const
authorArjan van de Ven <arjan@linux.intel.com>
Mon, 15 Oct 2007 09:01:53 +0000 (11:01 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 16 Oct 2007 07:59:54 +0000 (09:59 +0200)
commit7344be053ab9a1910e77ba6472883a5c83dda569
tree1db6c38ced516ef84913f6460cfcc60f50059e89
parent65a6ec0d72a07f16719e9b7a96e1c4bae044b591
bsg: mark struct file_operations const

struct file_operations is generally const (to avoid false sharing and get compile time errors on accidental writing to this shared structure); bsg recently added one of these without the const keyword. Patch below marks it const....

Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/bsg.c