1 |
/* Return a file handle (for nfs server support) |
/* Return a file handle (for nfs server support) |
2 |
|
|
3 |
Copyright (C) 1997, 1999 Free Software Foundation |
Copyright (C) 1997,99,2002 Free Software Foundation, Inc. |
4 |
|
|
5 |
This file is part of the GNU Hurd. |
This file is part of the GNU Hurd. |
6 |
|
|
26 |
|
|
27 |
/* Return an NFS file handle for CRED in FH & FN_LEN. */ |
/* Return an NFS file handle for CRED in FH & FN_LEN. */ |
28 |
error_t |
error_t |
29 |
diskfs_S_file_getfh (struct protid *cred, char **fh, unsigned *fh_len) |
diskfs_S_file_getfh (struct protid *cred, char **fh, size_t *fh_len) |
30 |
{ |
{ |
31 |
struct node *node; |
struct node *node; |
32 |
union diskfs_fhandle *f; |
union diskfs_fhandle *f; |