summaryrefslogtreecommitdiff
path: root/include/linux/efs_fs.h
diff options
context:
space:
mode:
authorAndrew Morton <akpm@digeo.com>2003-06-20 08:13:06 -0700
committerLinus Torvalds <torvalds@home.transmeta.com>2003-06-20 08:13:06 -0700
commit244f36266d58f4c26d707fdbcff592209d56aa80 (patch)
treec10a9aa05d24ed3dcb2f4462bd7edbb28937f26b /include/linux/efs_fs.h
parentd717623aa373ea2b4c261c72ff6add6c2ade8234 (diff)
[PATCH] Add system calls statfs64 and fstatfs64
From: Peter Chubb <peter@chubb.wattle.id.au> Add two new system calls, statfs64 and fstatfs64. This has been needed sincew the 64-bit sector_t merge - the current structures will overflow. - Use a common interface (vfs_statfs) with the rest of the kernel, - convert to 32-bit at (f)statfs time. - New field f_frsize gives underlying fragment size for the filesystem. (Solaris has this, and the Open Group describe it). - The old statfs syscalls will now return -EOVERFLOW if the device was too large to be represented inthe old data structures. The new system calls take a size_t argument, which is the size of the structure to be filled in (as requested by Ben LaHaise), to `futureproof' the interface. Has been reviewed by the arch maintainers and by Ulrich Drepper.
Diffstat (limited to 'include/linux/efs_fs.h')
-rw-r--r--include/linux/efs_fs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/efs_fs.h b/include/linux/efs_fs.h
index 808df8727891..c78e9c2a7b3a 100644
--- a/include/linux/efs_fs.h
+++ b/include/linux/efs_fs.h
@@ -41,7 +41,7 @@ extern struct file_operations efs_dir_operations;
extern struct address_space_operations efs_symlink_aops;
extern int efs_fill_super(struct super_block *, void *, int);
-extern int efs_statfs(struct super_block *, struct statfs *);
+extern int efs_statfs(struct super_block *, struct kstatfs *);
extern void efs_read_inode(struct inode *);
extern efs_block_t efs_map_block(struct inode *, efs_block_t);