From mboxrd@z Thu Jan 1 00:00:00 1970 From: jenn Subject: Re: file system writes Date: Thu, 13 Jan 2005 16:11:15 -0800 Message-ID: <1105661475.2977.5.camel@ENERGY> References: <20050113165353.GB24377@lst.de> <1105641344.2901.19.camel@ENERGY> <20050113213150.GC16884@vagabond> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: Received: from smtp812.mail.sc5.yahoo.com ([66.163.170.82]:28284 "HELO smtp812.mail.sc5.yahoo.com") by vger.kernel.org with SMTP id S261827AbVANALQ (ORCPT ); Thu, 13 Jan 2005 19:11:16 -0500 To: linux-fsdevel@vger.kernel.org In-Reply-To: <20050113213150.GC16884@vagabond> Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org > > That being said, it's doable and you are on the right track. Some stupid > mistake like forgetting to call fput perhaps? Okay... I changed my calls to use dentry_open and then fput (rather than filp open and close) and I call dput to release the dentry. The file is getting written to but I am getting this: /home/jenn/linux-2.6.6/fs/reiserfs/bitmap.c:915: spin_is_locked on uninitialized spinlock d48e4e60. /home/jenn/linux-2.6.6/fs/reiserfs/bitmap.c:917: spin_is_locked on uninitialized spinlock d48e4e60. /home/jenn/linux-2.6.6/fs/reiserfs/bitmap.c:883: spin_is_locked on uninitialized spinlock d48e4e60. /home/jenn/linux-2.6.6/fs/reiserfs/bitmap.c:885: spin_is_locked on uninitialized spinlock d48e4e60. /home/jenn/linux-2.6.6/fs/reiserfs/bitmap.c:902: spin_is_locked on uninitialized spinlock d48e4e60. /home/jenn/linux-2.6.6/fs/reiserfs/bitmap.c:904: spin_is_locked on uninitialized spinlock d48e4e60. and when I unmount the system I get the dreaded: Busy inodes after unmount. Self-destruct in 5 seconds. Have a nice day... slab error in kmem_cache_destroy(): cache `reiser_inode_cache': Can't free all objects > > But of course, I can't repeat it enough: FILES MUST NOT BE READ NOR > WRITTEN BY KERNEL! Well I do have a reason. I wish there were another way. Jenn > > ------------------------------------------------------------------------------- > Jan 'Bulb' Hudec