Skip to content

Commit

Permalink
ocfs2: Create ocfs2_stack_operations and split out the o2cb stack.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Joel Becker authored and Mark Fasheh committed Apr 18, 2008
1 parent 553aa7e commit e3dad42
Show file tree
Hide file tree
Showing 4 changed files with 532 additions and 372 deletions.
1 change: 1 addition & 0 deletions fs/ocfs2/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ ocfs2-objs := \
resize.o \
slot_map.o \
stackglue.o \
stack_o2cb.o \
suballoc.o \
super.o \
symlink.o \
Expand Down
Loading

0 comments on commit e3dad42

Please sign in to comment.