aboutsummaryrefslogtreecommitdiff
path: root/sys/fs/ext2fs/ext2_extern.h
diff options
context:
space:
mode:
authorFedor Uporov <fsu@FreeBSD.org>2017-10-17 20:45:44 +0000
committerFedor Uporov <fsu@FreeBSD.org>2017-10-17 20:45:44 +0000
commitb394cd1e28f1a094742434474ebe4f5004bf0ce3 (patch)
tree4a903d2c90a5b6b6660009ceba227c563b50628b /sys/fs/ext2fs/ext2_extern.h
parentb541ba195ccc4806d94348fa328d620e3261c05a (diff)
downloadsrc-b394cd1e28f1a094742434474ebe4f5004bf0ce3.tar.gz
src-b394cd1e28f1a094742434474ebe4f5004bf0ce3.zip
Add inital extents read-write support.
Approved by: pfg (mentor) MFC after: 6 months RelNotes: Yes Differential Revision: https://reviews.freebsd.org/D12087
Notes
Notes: svn path=/head/; revision=324706
Diffstat (limited to 'sys/fs/ext2fs/ext2_extern.h')
-rw-r--r--sys/fs/ext2fs/ext2_extern.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/fs/ext2fs/ext2_extern.h b/sys/fs/ext2fs/ext2_extern.h
index b31220403469..079f7c61a987 100644
--- a/sys/fs/ext2fs/ext2_extern.h
+++ b/sys/fs/ext2fs/ext2_extern.h
@@ -51,7 +51,7 @@ struct vnode;
int ext2_add_entry(struct vnode *, struct ext2fs_direct_2 *);
int ext2_alloc(struct inode *, daddr_t, e4fs_daddr_t, int,
struct ucred *, e4fs_daddr_t *);
-daddr_t ext2_allocfacl(struct inode *ip);
+daddr_t ext2_alloc_meta(struct inode *ip);
int ext2_balloc(struct inode *,
e2fs_lbn_t, int, struct ucred *, struct buf **, int);
int ext2_blkatoff(struct vnode *, off_t, char **, struct buf **);
@@ -60,6 +60,7 @@ e4fs_daddr_t ext2_blkpref(struct inode *, e2fs_lbn_t, int, e2fs_daddr_t *,
e2fs_daddr_t);
int ext2_bmap(struct vop_bmap_args *);
int ext2_bmaparray(struct vnode *, daddr_t, daddr_t *, int *, int *);
+int ext4_bmapext(struct vnode *, int32_t, int64_t *, int *, int *);
void ext2_clusteracct(struct m_ext2fs *, char *, int, daddr_t, int);
void ext2_dirbad(struct inode *ip, doff_t offset, char *how);
void ext2_fserr(struct m_ext2fs *, uid_t, char *);
@@ -101,6 +102,7 @@ int ext2_search_dirblock(struct inode *, void *, int *, const char *, int,
int *, doff_t *, doff_t *, doff_t *, struct ext2fs_searchslot *);
int ext2_gd_csum_verify(struct m_ext2fs *fs, struct cdev *dev);
void ext2_gd_csum_set(struct m_ext2fs *fs);
+void ext2_fserr(struct m_ext2fs *, uid_t, char *);
/* Flags to low-level allocation routines.