]> git.tuebingen.mpg.de Git - paraslash.git/commit
Move mmap_full_file from osl.c to fd.c.
authorAndre Noll <maan@systemlinux.org>
Sun, 21 Oct 2007 13:25:55 +0000 (15:25 +0200)
committerAndre Noll <maan@systemlinux.org>
Sun, 21 Oct 2007 13:25:55 +0000 (15:25 +0200)
commit97f53e18953fc2013c0b14f0261ac385e45b0284
treefc75f4f03f964d9c46d9883a3927bb813685202f
parentcd38753609763dbc55e72a7df446837792628d6d
Move mmap_full_file from osl.c to fd.c.

To make it independent from osl.c, we must not pass
a pointer to struct osl_data. Replace it by void *, size_t *
pointers. Also add new int *fd_ptr parameter. If it's non-NULL
the file is not closed after mmap, and the open fd is returned
in fd_ptr.
aft.c
error.h
fd.c
fd.h
fsck.c
osl.c
osl.h