]> err.no Git - linux-2.6/commit
ocfs2: Create ocfs2_stack_operations and split out the o2cb stack.
authorJoel Becker <joel.becker@oracle.com>
Fri, 1 Feb 2008 23:02:36 +0000 (15:02 -0800)
committerMark Fasheh <mfasheh@suse.com>
Fri, 18 Apr 2008 15:56:05 +0000 (08:56 -0700)
commite3dad42bf993a0f24eb6e46152356c9b119c15e8
treedf0419dc5e4387db7e6a6e0118bb5b9d01d8c0b2
parent553aa7e408eac402c00b67ddfa7aec13fe1f3a33
ocfs2: Create ocfs2_stack_operations and split out the o2cb stack.

Define the ocfs2_stack_operations structure.  Build o2cb_stack_ops from
all of the o2cb-specific stack functions.  Change the generic stack glue
functions to call the stack_ops instead of the o2cb functions directly.

The o2cb functions are moved to stack_o2cb.c.  The headers are cleaned up
to where only needed headers are included.

In this code, stackglue.c and stack_o2cb.c refer to some shared
extern variables.  When they become modules, that will change.

Signed-off-by: Joel Becker <joel.becker@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
fs/ocfs2/Makefile
fs/ocfs2/stack_o2cb.c [new file with mode: 0644]
fs/ocfs2/stackglue.c
fs/ocfs2/stackglue.h