From: Josef Bacik Subject: Re: [RFC][PATCH] expose get_block via inode_operations Date: Wed, 23 Apr 2008 09:05:35 -0400 Message-ID: <20080423130535.GB2852@unused.rdu.redhat.com> References: <20080422181824.GA2852@unused.rdu.redhat.com> <20080423073517.GA19338@infradead.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Josef Bacik , linux-fsdevel@vger.kernel.org To: Christoph Hellwig Return-path: Received: from mx1.redhat.com ([66.187.233.31]:34776 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752086AbYDWNQG (ORCPT ); Wed, 23 Apr 2008 09:16:06 -0400 Content-Disposition: inline In-Reply-To: <20080423073517.GA19338@infradead.org> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Wed, Apr 23, 2008 at 03:35:17AM -0400, Christoph Hellwig wrote: > No thanks. Just add a generic_fiemap which takes a get_block paramter > ala > > static int > ext2_fiemap(struct inode *inode, ...) > { > return generic_fiemap(inode, ...., ext2_get_block); > } > > To keep the abstractions clear. That's how we do it for all other > get_block users already. > Ahh ok that sounds good, thanks much, Josef