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. -- To unsubscribe from this list: send the line "unsubscribe linux-cifs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html