]> git.baikalelectronics.ru Git - kernel.git/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)
commitbd3994b57d99bc275a3bf4417f2bd2f90c59c134
treedf0419dc5e4387db7e6a6e0118bb5b9d01d8c0b2
parentb6de4f9ad9ba333d63b353204937fd731bfc5740
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