From 2c079eaae47bc35852bb796b6a7582b56c799e16 Mon Sep 17 00:00:00 2001 From: Manuel Menal Date: Tue, 11 Apr 2006 12:12:20 +0000 Subject: Applied patch from Ben Asselstine: added a new option to specify a port. --- netfs.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'netfs.c') diff --git a/netfs.c b/netfs.c index 959bd94bd..d9ee35668 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, - off_t size) + loff_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, - struct statfs *st) + fsys_statfsbuf_t *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, - off_t offset, size_t *len, void *data) + loff_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, - off_t offset, size_t *len, void *data) + loff_t offset, size_t *len, void *data) { return EROFS; } -- cgit v1.2.3