LWN.net Logo

const function pointers

const function pointers

Posted Aug 13, 2009 19:02 UTC (Thu) by spender (subscriber, #23067)
In reply to: const function pointers by spender
Parent article: In Brief

There were only two things in 2.6.30.4 that needed the writable *_ops (I fixed up file_operations, seq_operations, dentry_operations, inode_operations, address_space_operations, vm_operations, super_operations): drivers/scsi/sg.c and virt/kvm/kvm_main.c

sg.c I fixed trivially, kvm_main.c can't be fixed easily without making the code ugly.

-Brad


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds