diff options
author | Manuel Menal <mmenal@hurdfr.org> | 2006-04-11 12:12:20 +0000 |
---|---|---|
committer | Manuel Menal <mmenal@hurdfr.org> | 2006-04-11 12:12:20 +0000 |
commit | 2c079eaae47bc35852bb796b6a7582b56c799e16 (patch) | |
tree | 15a9d967c136eb98d454390530c352edba323912 /netfs.c | |
parent | ea5e87f241d05d99cc376ea34d8105de8dc174c8 (diff) |
Applied patch from Ben Asselstine: added a new option to specify a port.
Diffstat (limited to 'netfs.c')
-rw-r--r-- | netfs.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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; } |