summaryrefslogtreecommitdiff
path: root/sys/ufs/ext2fs/ext2fs_extern.h
diff options
context:
space:
mode:
authorNiall O'Higgins <niallo@cvs.openbsd.org>2005-04-30 13:58:56 +0000
committerNiall O'Higgins <niallo@cvs.openbsd.org>2005-04-30 13:58:56 +0000
commit514bc6a5729982dd3c7efdc28baecc1f45061898 (patch)
treee0902c81534b844c63dab4530603b0fa066babdc /sys/ufs/ext2fs/ext2fs_extern.h
parente723898372517d7a195b4eb18912751f9316ae2e (diff)
Add support for large files (> 4GB).
Automatically converts old filesystems to use this if they are already at revision 1 (like Linux). Revision 0 filesystems don't get converted (unlike Linux). From NetBSD
Diffstat (limited to 'sys/ufs/ext2fs/ext2fs_extern.h')
-rw-r--r--sys/ufs/ext2fs/ext2fs_extern.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/ufs/ext2fs/ext2fs_extern.h b/sys/ufs/ext2fs/ext2fs_extern.h
index 141b6177ca6..d4b68ae3039 100644
--- a/sys/ufs/ext2fs/ext2fs_extern.h
+++ b/sys/ufs/ext2fs/ext2fs_extern.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ext2fs_extern.h,v 1.20 2004/07/13 21:04:29 millert Exp $ */
+/* $OpenBSD: ext2fs_extern.h,v 1.21 2005/04/30 13:58:55 niallo Exp $ */
/* $NetBSD: ext2fs_extern.h,v 1.1 1997/06/11 09:33:55 bouyer Exp $ */
/*-
@@ -76,6 +76,8 @@ int ext2fs_bmap(void *);
/* ext2fs_inode.c */
int ext2fs_init(struct vfsconf *);
+u_int64_t ext2fs_size(struct inode *);
+int ext2fs_setsize(struct inode *, u_int64_t);
int ext2fs_update(struct inode *ip, struct timespec *atime,
struct timespec *mtime, int waitfor);
int ext2fs_truncate(struct inode *, off_t, int, struct ucred *);