From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: Re: smb2 work status Date: Mon, 18 Jul 2011 11:47:30 -0400 Message-ID: <20110718154730.GA5822@infradead.org> References: <20110716192811.GE26925@infradead.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Christoph Hellwig , linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Jeff Layton , Steve French To: Pavel Shilovsky Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-cifs-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: On Mon, Jul 18, 2011 at 07:45:01PM +0400, Pavel Shilovsky wrote: > If I understand you right, you mean to separate inode and file > operations for smb2 into a different structures, set them once with > ifdefs in cifs_set_ops() and keep them in smb2inode.c and smb2file.c > files. That's the idea. You'll really have to prototype it to check if it works out nicely. If we end up duplicating too much it might not be feasible, but fro ma quick look it should be much better.