|
|
Subscribe / Log in / New account

Series to allow a "const" file_operations struct

From:  Arjan van de Ven <arjan@infradead.org>
To:  linux-kernel@vger.kernel.org
Subject:  [patch 0/4] Series to allow a "const" file_operations struct
Date:  Fri, 06 Jan 2006 22:45:37 +0100
Cc:  akpm@osdl.org

Hi,

this series allows drivers to have "const" file_operations, by making
the f_ops field in the inode const. This has another benefit, there have
been several bugs where code accidentally wrote to the ->f_ops
structure, forgetting that it's a shared structure. One of those bugs
got fixed in november for example (as a result of these patches),
another one is fixed in this series. 

Greetings,
   Arjan van de Ven



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