From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751516AbWAFVvV (ORCPT ); Fri, 6 Jan 2006 16:51:21 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751948AbWAFVvU (ORCPT ); Fri, 6 Jan 2006 16:51:20 -0500 Received: from pentafluge.infradead.org ([213.146.154.40]:18323 "EHLO pentafluge.infradead.org") by vger.kernel.org with ESMTP id S1751516AbWAFVvU (ORCPT ); Fri, 6 Jan 2006 16:51:20 -0500 Subject: [patch 0/4] Series to allow a "const" file_operations struct From: Arjan van de Ven To: linux-kernel@vger.kernel.org Cc: akpm@osdl.org Content-Type: text/plain Date: Fri, 06 Jan 2006 22:45:37 +0100 Message-Id: <1136583937.2940.90.camel@laptopd505.fenrus.org> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 (2.2.3-2.fc4) Content-Transfer-Encoding: 7bit X-Spam-Score: -2.8 (--) X-Spam-Report: SpamAssassin version 3.0.4 on pentafluge.infradead.org summary: Content analysis details: (-2.8 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -2.8 ALL_TRUSTED Did not pass through any untrusted hosts X-SRS-Rewrite: SMTP reverse-path rewritten from by pentafluge.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.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