summaryrefslogtreecommitdiff
path: root/netfs.c
diff options
context:
space:
mode:
authorManuel Menal <mmenal@hurdfr.org>2006-04-11 12:27:33 +0000
committerManuel Menal <mmenal@hurdfr.org>2006-04-11 12:27:33 +0000
commit89968a1d3e5fa138093f34b01fceadc171249ac9 (patch)
treed440eb4c7f47c10d4bd3c043eb8cb05c6575f1c0 /netfs.c
parent2c079eaae47bc35852bb796b6a7582b56c799e16 (diff)
Update to new libnetfs. (Manuel)
Diffstat (limited to 'netfs.c')
-rw-r--r--netfs.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/netfs.c b/netfs.c
index d9ee35668..8ce895195 100644
--- a/netfs.c
+++ b/netfs.c
@@ -378,7 +378,7 @@ error_t netfs_attempt_chflags (struct iouser *cred, struct node *node,
/* This should attempt to set the size of the file NODE (for user CRED) to
SIZE bytes long. */
error_t netfs_attempt_set_size (struct iouser *cred, struct node *node,
- loff_t size)
+ off_t size)
{
return EROFS;
}
@@ -386,7 +386,7 @@ error_t netfs_attempt_set_size (struct iouser *cred, struct node *node,
/* This should attempt to fetch filesystem status information for the remote
filesystem, for the user CRED. */
error_t netfs_attempt_statfs (struct iouser *cred, struct node *node,
- fsys_statfsbuf_t *st)
+ struct statfs *st)
{
return EOPNOTSUPP;
}
@@ -430,7 +430,7 @@ error_t netfs_attempt_readlink (struct iouser *user, struct node *node,
up to *LEN bytes. Put the data at DATA. Set *LEN to the amount
successfully read upon return. */
error_t netfs_attempt_read (struct iouser *cred, struct node *node,
- loff_t offset, size_t *len, void *data)
+ off_t offset, size_t *len, void *data)
{
error_t err;
int remote_fd;
@@ -455,7 +455,7 @@ error_t netfs_attempt_read (struct iouser *cred, struct node *node,
to *LEN bytes from DATA. Set *LEN to the amount seccessfully written upon
return. */
error_t netfs_attempt_write (struct iouser *cred, struct node *node,
- loff_t offset, size_t *len, void *data)
+ off_t offset, size_t *len, void *data)
{
return EROFS;
}