ocfs2: Move directory manipulation code into dir.c
authorMark Fasheh <mark.fasheh@oracle.com>
Sat, 8 Sep 2007 01:21:26 +0000 (18:21 -0700)
committerMark Fasheh <mark.fasheh@oracle.com>
Fri, 12 Oct 2007 18:54:36 +0000 (11:54 -0700)
commit316f4b9f98a353ac1be93199694fd97272378815
treec54f7feb08fc1693f64879d8a3edc18cf3bb2713
parent1d410a6e337a0d2d5543ad1d9bccb670a7a05312
ocfs2: Move directory manipulation code into dir.c

The code for adding, removing, deleting directory entries was splattered all
over namei.c. I'd rather have this all centralized, so that it's easier to
make changes for inline dir data, and eventually indexed directories.

None of the code in any of the functions was changed. I only removed the
static keyword from some prototypes so that they could be exported.

Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
Reviewed-by: Joel Becker <joel.becker@oracle.com>
fs/ocfs2/dir.c
fs/ocfs2/dir.h
fs/ocfs2/journal.c
fs/ocfs2/namei.c
fs/ocfs2/namei.h