From: Pavel Machek Subject: Re: [PATCH 6/13: eCryptfs] Superblock operations Date: Thu, 4 May 2006 09:55:53 +0000 Message-ID: <20060504095552.GC5844@ucw.cz> References: <20060504031755.GA28257@hellewell.homeip.net> <20060504033829.GE28613@hellewell.homeip.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Andrew Morton , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, viro@ftp.linux.org.uk, mike@halcrow.us, mhalcrow@us.ibm.com, mcthomps@us.ibm.com, toml@us.ibm.com, yoder1@us.ibm.com, James Morris , "Stephen C. Tweedie" , Erez Zadok , David Howells Return-path: Received: from gprs189-60.eurotel.cz ([160.218.189.60]:7696 "EHLO spitz.ucw.cz") by vger.kernel.org with ESMTP id S1751467AbWEDJ4L (ORCPT ); Thu, 4 May 2006 05:56:11 -0400 To: Phillip Hellewell Content-Disposition: inline In-Reply-To: <20060504033829.GE28613@hellewell.homeip.net> Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org HI! > +/** > + * Get the filesystem statistics. Currently, we let this pass right through > + * to the lower filesystem and take no action ourselves. > + */ > +static int ecryptfs_statfs(struct super_block *sb, struct kstatfs *buf) > +{ > + int rc = 0; > + > + ecryptfs_printk(KERN_DEBUG, "Enter\n"); > + rc = vfs_statfs(ECRYPTFS_SUPERBLOCK_TO_LOWER(sb), buf); > + ecryptfs_printk(KERN_DEBUG, "Exit; rc = [%d]\n", rc); > + return rc; > +} This is ugly. Could you remove the debugging, or at least use dprintk? -- Thanks, Sharp!