fs: add generic getfssec
authorH. Peter Anvin <hpa@zytor.com>
Fri, 26 Feb 2010 20:11:18 +0000 (12:11 -0800)
committerH. Peter Anvin <hpa@zytor.com>
Fri, 26 Feb 2010 20:11:18 +0000 (12:11 -0800)
commitf3e92c92c0a9e16bec3aa3b1c546a01054056861
tree495bc168c1b7242f916dbd2173a4b6ee36faff09
parentdf88057cf111bfb00f27da51b53591742239a974
fs: add generic getfssec

Add a generic getfssec method which operate on cached extents. This
should avoid the need to each filesystem to implement its own getfssec
loop.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
core/fs/getfssec.c [new file with mode: 0644]
core/include/fs.h